Declaration
TIEImageDraw2Event = procedure(Sender: TObject; idx: integer; Left, Top: integer; ImageRect: TRect; Canvas: TCanvas) of object;
Description
idx is the index of the image being painted
Left is the X coordinate of the top-left corner of the thumbnail
Top is the Y coordinate of the top-left corner of the thumbnail.
ImageRect is the actual image rectangle.
Canvas is the canvas to draw to.