You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Reader > PdfReaderRenderPageToGdPictureImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfReaderRenderPageToGdPictureImage Method

Renders the selected page of a PDF to a GdPicture image.

C#
public int PdfReaderRenderPageToGdPictureImage(
    int hPdf, 
    Double DPI, 
    Boolean RenderFormFields
);
Visual Basic
Public Function PdfReaderRenderPageToGdPictureImage(
    ByVal hPdf As Integer, 
    ByVal DPI As Double, 
    ByVal RenderFormFields As Boolean
) As Integer
Parameters
Parameters 
Description 
hPdf 
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function.  
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. 
RenderFormFields 
Set to True to render form fields (also known as annotations), else False.
 
Returns

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

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