pdf.LoadPage(id, page[, loadtext])
id
.
The page to load must be specified in the page
argument. It must be a number in
the range of 1 to the total number of pages in the document. The PDF document specified
by id
must have been opened using pdf.OpenDocument() before.
If the optional argument loadtext
is set to True
, pdf.LoadPage()
will also
load the page's text. This is necessary if you want to use functions that deal with
text on a PDF page, e.g. pdf.GetText() or pdf.FindStart().
When you're done with the page, you should call pdf.FreePage() to free its resources. This is also done automatically when calling pdf.CloseDocument(). See pdf:FreePage for details.
True
if the page's text should be loaded (defaults to False
)