You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > PDF Features > PdfRenderPageToGdPictureImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.PdfRenderPageToGdPictureImage Method

Renders a page of the displayed PDF to a GdPicture image. This GdPicture image can be used by another GdPictureImaging or GdViewer object.

C#
public int PdfRenderPageToGdPictureImage(
    int DPI, 
    int Page
);
Visual Basic
Public Function PdfRenderPageToGdPictureImage(
    ByVal DPI As Integer, 
    ByVal Page As Integer
) As Integer
Parameters
Parameters 
Description 
DPI 
The resolution to use for the rendering.
A value of 72 will give the same result as Acrobat when the zoom level is 100%.
Values over 300 will cause excessive memory usage.
 
Page 
The page to render.  
Returns

0: The image could not be created. Use the GetStat() function to determine the reason this function failed.

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.