Thumbnail Browser
LEADTOOLS Raster Thumbnail Browser Control provides a thumbnail browser that browses a specified directory for images supported by LEADTOOLS. For each supported image, a thumbnail image is generated. In addition, the Thumbnail Browser also lets you create a thumbnail from a specific image file.
To browse a directory, call the BrowseDir method. For each thumbnail image generated, a ThumbnailEvent event occurs. To generate a thumbnail from a specific image file, call the CreateThumbnailFromFile method. The thumbnail image generated using this method can also be processed through the ThumbnailEvent event.
The browse process can be modified using the following properties:
IncludeSubDirectories property
In addition, you can modify thumbnail characteristics using these properties:
ThumbnailBackgroundColor property
ThumbnailBitsPerPixel property
To gain information about the file, from which the thumbnail images were generated, use the following properties:
The EnableMethodErrors property facilitates controlling error handling for the object.