'Declaration
Public Overloads Function GetPageThumbnail( _ ByVal Width As Integer, _ ByVal Height As Integer, _ ByVal Page As Integer, _ ByVal BackColor As Color _ ) 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 color object 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.
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.