This method deletes the specified thumbnail image from Thumbnail Control.
[Visual Basic] [ Boolean
= ]thumbcontrolname.Delete(ImageNumber As
Integer)
[Visual C++] [
BOOL = ]thumbcontrolname.Delete(short
ImageNumber)
Parameters
Name | Explanation |
---|---|
ImageNumber | The sequential number of the thumbnail image (starts from 1) |
Return Value
Returns True (nonzero) if successful, returns False (0) when not successful.
Explanation
The Delete method deletes the specified thumbnail image from Thumbnail Control (the actual file remains). If you don't want to display the thumbnail image next time (ex. when reloading it), please delete the actual file after executing this method and when the return value is True.
By setting the sequential number of the thumbnail image into the ThumbArrayNum property prior to executing this method, the actual filename will be set in the ThumbArrayFileName, ThumbArrayPage, and ThumbArrayPathName properties.