getPageLabelFromPageNum

Convert a page number to a page label.
getPageLabelFromPageNum([in] int pageNum, [out, retval] BSTR *pageLabel)
This function returns the page label for page number pageNum, as a Unicode string.

Returns an empty string 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.

VB:
label = viewer.getPageLabelFromPageNum(7)
hasPageLabels
getPageNumFromPageLabel