ThumbnailXpress 6 for ActiveX - User Guide > How To > Load & Display Thumbnails > Get Thumbnail Information |
All thumbnail images are generated with unique IDs and are cached for rapid display access purposes. Use the "GetItem" methods to acquire information about a thumbnail, including the name of the file from which the thumbnail was generated (GetItemFilename) and the page within the file that the thumbnail represents (GetItemPage).
The thumbnail image can be acquired as an HBitmap (GetItemHBitmap), HDib (GetItemHDib), or Picture object (GetItemPicture).
Information about the thumbnail will not be available until generation of the thumbnail is complete. Use the ItemComplete event to ensure that generation is complete prior to checking thumbnail information. |