Creates a High Quality thumbnail (returns a GdPicture image) of custom size of the current page of a PDF.
This function fits the image thumbnail within a rectangle of specified dimensions having a specified background color.
public int PdfReaderGetPageThumbnail( int hPdf, int Width, int Height, Color BackColor );
Public Function PdfReaderGetPageThumbnail( ByVal hPdf As Integer, ByVal Width As Integer, ByVal Height As Integer, ByVal BackColor As Color ) As Integer
|
Parameters |
Description |
|
hPdf |
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function. |
|
Width |
The width of the thumbnail to create. |
|
Height |
The height of the thumbnail to create. |
|
BackColor |
Color Object. Background color of the thumbnail. |
|
Page |
The page of the document. |
GdPicture Image Identifier. The Image thumbnail.
To delete the created GdPicture image from the memory you must use the ReleaseGdPictureImage() function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|