You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Getting Thumbnails > GetPageThumbnailAsBitmap Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.GetPageThumbnailAsBitmap Method

Creates a High Quality thumbnail (returns a Bitmap object) of custom size from a page of the displayed document. 

This function fits the image thumbnail within a rectangle of specified dimensions having a specified background color.

C#
public Bitmap GetPageThumbnailAsBitmap(
    int Width, 
    int Height, 
    int Page, 
    Color BackColor
);
Visual Basic
Public Function GetPageThumbnailAsBitmap(
    ByVal Width As Integer, 
    ByVal Height As Integer, 
    ByVal Page As Integer, 
    ByVal BackColor As Color
) As Bitmap
Parameters
Parameters 
Description 
Width 
The width of the thumbnail to create.  
Height 
The height of the thumbnail to create.  
Page 
The page of the document.  
BackColor 
Color Object. Background color of the thumbnail. 
Returns

The Image thumbnail.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.