ImageEn, unit ieanimation

TIEAnimationGetImageInfoEvent


Declaration

TIEAnimationGetImageInfoEvent = procedure(Sender: TObject; imageIndex: integer; isVisible: boolean; var imageWidth: integer; var imageHeight: integer; var text: WideString) of object;


Description

Event called when only the image info is needed (not the whole image).

Parameter Description
Sender The caller, a subclass of TIEAnimation class
imageIndex Index of the required image info
isVisible False if the required image may not be visible (hence you can provide estimated values)
imageWidth Return value for image width
imageHeight Return value for image height
text Return value for image textual info (ie a filename)