Gets a thumbnail representation of this page.
DocumentPage.prototype.getThumbnailImage = function()
URL to an image that represents the thumbnail of this page.
This method will be deprecated. Use GetThumbnailImageUrl instead.
This method uses the value set in DocumentImages.ThumbnailPixelSize to determine the size of the thumbnail image. The returned image data will have 24 bits per pixel.
This method works as follows (the "item" is a thumbnail image with the specified size):
If an item was found in the cache, it is returned right away.
GetImageUrl is used to create the thumbnail image.
The image object is saved to the cache before it is returned. Next time this method is called, the image will be returned from the cache directly without loading it from the file or creating a new instance.
DocumentImages.GetThumbnailsGridUrl can be used to return the thumbnails of more than one page using a single call.
The LEADTOOLS Document Viewer uses DocumentPage.GetThumbnailImageUrl and DocumentImages.GetThumbnailsGridUrl for generating the thumbnails list of a document.
Refer to Loading Using LEADTOOLS Documents Library for more information.
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.