pdfHasPageLabels

Check if the PDF file has page labels.
BOOL pdfHasPageLabels(PDFViewerHandle viewer)
This function returns true if the currently open PDF file has page labels.

Page labels are an optional PDF feature, allowing arbitrary strings (e.g., "i", "ii", "iii") to be associated with page numbers.

C:
BOOL hasLabels; hasLabels = pdfHasPageLabels(viewer);
pdfGetPageLabelFromPageNum
pdfGetPageNumFromPageLabel