Hi,
having an image into TImageEnView you can use bitmap canvas to draw the border:
with ImageEnView1.IEBitmap, Canvas do
begin
Pen.Color := clBlack;
Pen.Style := psSolid;
Brush.Style := bsClear;
Rectangle(0, 0, Width, Height);
end;
ImageEnView1.Update();