Declaration
TIEImageDrawEvent = procedure(Sender: TObject; idx: integer; Left, Top: integer; 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.
Canvas is the canvas to draw to.