This event is generated just after a thumbnail image is displayed in the Thumbnail Control.
Parameters
Name | Explanation |
---|---|
PathName | The directory name and path of the image that will be displayed |
FileName | The file name of the image that will be displayed |
ImageNumber | The sequential number of the thumbnail image |
MaxImage | The total number of images to be loaded into the Thumbnail Control |
ALeft | The position, in pixels, of the left side of the thumbnail frame that will be displayed. (This is the x coordinate of the top left corner of the thumbnail frame) |
ATop | The position, in pixels, of the top of the thumbnail frame that will be displayed. (This is the y coordinate of the top left corner of the thumbnail frame) |
ARight | The position, in pixels, of the left side of the thumbnail frame that will be displayed. (This is the x coordinate of the bottom right corner of the thumbnail frame) |
ABottom | The position, in pixels, of the left side of the thumbnail frame that will be displayed. (This is the y coordinate of the bottom right corner of the thumbnail frame) |
Explanation
The ShowThumbImage event is generated just after a thumbnail image is displayed in the thumbnail control. This event is generated for each image displayed in the thumbnail control and if the Thumbnail Control is forced to repaint, the event will be generated even though the Display method has not been called.
When multi-page image files are loaded, the page number is appended to the FileName parameter (If the page number is 0 then it is omitted).
Example: When page 2 of the file ABC.TIF is loaded into the thumbnail control, the FileName parameter will return the string "ABC.TIF 2".
Differences from ImageKit6/7/8/9/10 ActiveX
In C++Builder, the PathName and FileName parameters' type is
changed to UnicodeString
In Delphi, the PathName and FileName parameter's type is changed to
string