Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

ThumbnailPixelSize Property






Size to use when getting the thumbnail image of a page.
Syntax
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)
            
public:
property LeadSize ThumbnailPixelSize {
   LeadSize get();
   void set (    LeadSize value);
}

Property Value

The size to use in pixels when getting the thumbnail image of a page. Default value is 128 by 128 pixels.
Remarks

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.

Example

For an example, refer to DocumentPage.GetThumbnailImage

Requirements

Target Platforms

See Also

Reference

DocumentImages Class
DocumentImages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features