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

Returns the current page of a PDF.

C#
public int PdfReaderGetCurrentPage(
    int hPdf
);
Visual Basic
Public Function PdfReaderGetCurrentPage(
    ByVal hPdf As Integer
) As Integer
Parameters
Parameters 
Description 
hPdf 
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function. 
Returns

The selected page number. Must be a value between 1 and PdfReaderGetPageCount. 0 if failed: you can 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.