←Select platform

ThumbnailPixelSize Property

Summary

Size to use when getting the thumbnail image of a page.

Syntax
C#
C++/CLI
Java
Python
public LeadSize ThumbnailPixelSize { get; set; } 
public:  
   property LeadSize^ ThumbnailPixelSize 
   { 
      LeadSize^ get() 
      void set(LeadSize^ value) 
   } 
public LeadSize getThumbnailPixelSize() 
public void setThumbnailPixelSize(LeadSize value) 
ThumbnailPixelSize # get and set (DocumentImages) 

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.

Note that setting this property to a value will update the same value in each child document.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.