pdfGetPageLabelFromPageNum

Convert a page number to a page label.
wchar_t *pdfGetPageLabelFromPageNum(PDFViewerHandle viewer, int pageNum)
This function returns the page label for page number pageNum, as a Unicode string.

The caller is responsible for calling pdfFreeMemory on the returned string.

Returns NULL if the page number is invalid, or if the PDF file doesn't have page labels.

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

C:
wchar_t *label; label = pdfGetPageLabelFromPageNum(viewer, 7);
pdfHasPageLabels
pdfGetPageNumFromPageLabel