ImageEn, unit iemview




property OnBeforeImageDrawEx: TIEImageDrawEventEx;


Occurs immediately before the image of index, idx, is painted.
Left, Top are the top-left coordinates where the image will be drawn (i.e. destination bitmap coordinates).
Dest is the destination bitmap (containing the canvas where the image must be drawn).
ThumbRect specifies the destination rectangle for the image. You can change this parameter to control where the image is drawn.

Note: When this event is assigned, the selection is not shown.

See the Multi\CustomThumbs demo for more info.

Note: OnBeforeImageDraw and OnBeforeImageDrawEx are identical, except that OnBeforeImageDrawEx includes a ThumbRect parameter. Also if OnBeforeImageDrawEx is used the selection is not shown.