Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Common
Collapse All

This method gets the specified PDF page's text as a single string.

Syntax

BSTR GetPageText (
LONG pageNumber
)
Parameters
pageNumber
The zero-based number of a PDF page

Return value

Text of the specified page as a single string

Remarks

The returned string contains the page's text lines united with the new line character ('\r\n').

Example.
Let's say that we have a PDF document with 2 pages.

Page 1:

Text11. Text12.
Text13.

Page 2:

Text21.
Text22.

Then the GetPageText method will return this string:

Text21.
Text22.

See Also

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots