This method displays thumbnail images in the Thumbnail Control.
Parameters
page (optional) - the page of thumbnail images to be displayed in the Thumbnail Control
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The ShowThumbnailImages method displays the thumbnail images in the Thumbnail Control. When the EnablePaging property is true, the page parameter of this ShowThumbnailImages method is disabled and default paging is used. When the EnablePaging property is false the page parameter of the ShowThumbnailImages method can be used to display a particular page of thumbnail images. Use the SortDirection property to set the display order of the thumbnail images.
Note: Thumbnail images are automatically created when this method is executed and: 1. the thumbnail directory does not exist; 2. when the Thumbnail Control's ConfigFile has been changed; 3. when the thumbnail directory's timestamp is older then the image directory's timestamp.
Example
To display the previous page of thumbnail images:
[Visual Basic.NET] page = page - 1 If page < 1 Then page = 1 End If Thumbnail1.ShowThumbnailImages(page) [Visual C#.NET] page--; if (page < 1) page = 1; Thumbnail1.ShowThumbnailImages(page);
See Also
Thumbnail Members | Newtone.ImageKit.Web.Thumbnail