Gets a thumbnail of a page in the document.
page
The requested page. Must be an existing page in the DocumentReader.Pages list and cannot be a a null reference.
thumbnailWidth
The desired maximum width of the thumbnail image in pixels. Must be greater than or equal to 32.
thumbnailHeight
The desired maximum height of the thumbnail image in pixels. Must be greater than or equal to 32.
A new Leadtools.RasterImage that is the thumbnail image.
If the page width and height is less than thumbnailWidth and thumbnailHeight, then this method returns a Leadtools.RasterImage in the original size.
If the page width or height is greater than thumbnailWidth and thumbnailHeight, then this method will return the biggest thumbnail it can fit into the dimensions specified by thumbnailWidth and thumbnailHeight, keeping the original image aspect ratio.
The result image will always have 24 bits per pixel and a resolution of 96 by 96 regardless of the value of DpiX and DpiY and will never return a thumbnail bigger than the original page size in pixels.
To get a render of the full size of any page in a PDF document, use GetPageImage.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2