Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > DocumentImages Class : ThumbnailPixelSize Property |
public LeadSize ThumbnailPixelSize {get; set;}
'Declaration
Public Property ThumbnailPixelSize As LeadSize
'Usage
Dim instance As DocumentImages Dim value As LeadSize instance.ThumbnailPixelSize = value value = instance.ThumbnailPixelSize
public LeadSize getThumbnailPixelSize() public void setThumbnailPixelSize(LeadSize value)
ThumbnailPixelSize is used by DocumentPage.GetThumbnailImage to calculate the size of the raster image returned as a thumbnail of the page.
The actual size is calculated to be the maximum value that fits inside ThumbnailPixelSize while keeping the aspect ratio, for example, if ThumbnailPixelSize is 128 by 128 and the page size is 2000 by 1000 pixels then the returned thumbnail image size is 128 by 64 pixels.
For an example, refer to DocumentPage.GetThumbnailImage