Name
pdf.GetPageLabel -- get page label text (V1.1)
Synopsis
l$ = pdf.GetPageLabel(id, page)
Function
This function can be used to get the label of the page specified by the page argument. This must be a number in the range of 1 to the total number of pages in the document and the page must have been previously loaded using pdf.LoadPage(). The PDF document specified by id must have been previously opened using pdf.OpenDocument().

Note that page labels aren't always set. If there is no label for the page, an empty string is returned.

Inputs
id
identifier of the PDF document to use
page
page number to use (starting from 1)
Results
l$
page's label

Show TOC