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

Returns the text of the current page of a PDF.

C#
public String PdfReaderGetPageTextArea(
    int hPdf, 
    Single Left, 
    Single Top, 
    Single Width, 
    Single Height
);
Visual Basic
Public Function PdfReaderGetPageTextArea(
    ByVal hPdf As Integer, 
    ByVal Left As Single, 
    ByVal Top As Single, 
    ByVal Width As Single, 
    ByVal Height As Single
) As String
Parameters
Parameters 
Description 
hPdf 
A PDF handle returned by the PdfReaderLoadFromFile or the PdfReaderLoadFromStream function.  
Left 
Left position of the rectangle in inches. 
Top 
Top position of the rectangle in inches. 
Width 
Width of the rectangle in inches. 
Height 
Height of the rectangle in inches. 
Returns

The text within the specified area.

You can use the GetStat() function to determine if this function failed.

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