property PageLabel[PageNumber: Integer]: WString; // read only
Returns the user-visible page label (such as "iv" or "A-3") held in the catalog's /PageLabels number tree for the given 1-based PageNumber
Reading PageLabel[PageNumber] leaves the active PageNumber untouched. To rewrite page labels on save, use SaveAsPageLabelled
PageNumber values run 1 .. PageCount; the result is an empty string when the document has no /PageLabels entry or Active is FalsePageLabel[PageNumber] next to PageNumber in navigation toolbars whenever it is non-empty
if Pdf1.Active then
Memo1.Lines.Add('PageLabel = ' + Pdf1.PageLabel[1]);