'Declaration
Public Overloads Function GetPageThumbnail( _ ByVal Width As Integer, _ ByVal Height As Integer, _ ByVal Page As Integer, _ ByVal BackColor As Integer _ ) As Integer
Parameters
- Width
- The required width of the newly created thumbnail image, in pixels.
- Height
- The required height of the newly created thumbnail image, in pixels.
- Page
- The required page of the displayed document for creating the thumbnail.
- BackColor
- A required color value that defines the background color of the thumbnail's margins. The created thumbnail image includes predefined margin on both sides painted with the specified color.
Use the ARGBI method to obtain this value.
Return Value
A unique image identifier of the GdPictureImage object representing the newly created thumbnail's image resource. The returned value is non-zero if the image is successfully created. Please first of all use the GetStat method to determine if this method has been successful.
Just to remind you that you need to release the image using the ReleaseGdPictureImage method after being used.