THotPDF.GetLoadedPageLabelInfo Method

Reads the page label range information starting from a specified page in the loaded PDF document, including numbering style, prefix, and starting number

Declaration

function GetLoadedPageLabelInfo(StartPageIndex: Integer; out AStyle: AnsiString; out APrefix: AnsiString; out AStart: Integer): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
StartPageIndexThe zero-based index of the starting page for the page label range
AStyleOut parameter receiving the numbering style of this range (e.g. D for decimal, R for upper-case Roman)
APrefixOutput parameter, receives the prefix string for page labels in this range
AStartOutput parameter, receives the starting number value for the first page in the range

Return value

Returns True if a page label range covering the requested page was found in the label array

Usage notes

Related APIs