'Declaration
Public Function GetPageThumbnailAsBitmap( _ ByVal Width As Integer, _ ByVal Height As Integer, _ ByVal Page As Integer, _ ByVal BackColor As Color _ ) As Bitmap
public function GetPageThumbnailAsBitmap( Width: Integer; Height: Integer; Page: Integer; BackColor: Color ): Bitmap;
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
The newly created thumbnail's image as a bitmap. Please first of all use the GetStat method to determine if this method has been successful.