dotted border lazarus / 39-Graphics ---------------------------------------------------------------------- xinyiman · 2012-07-24 10:00 Hello guys, how do I add a dotted border to the edges of the image contained in the object TImage? So that when I save the image I retain the dotted border like I added a frame to your picture! ---------------------------------------------------------------------- KpjComp · 2012-07-24 10:44 Just draw to your images canvas. eg. something like..  btw. I'm coding from memory, so might be some syntax errors etc. Code: [Select]begin   with image1.picture.bitmap.canvas do   begin      brush.style := bsNone;      pen.Style := psDot;      pen.Color := clRed;      rectangle(0,0,image1.picture.bitmap.width,image1.picture.bitmap.h eight);   end; ---------------------------------------------------------------------- xinyiman · 2012-07-24 11:37 Thank you Not: brush.style := bsNone; but: brush.style := bsClear;