THotPDF.SetLoadedPageLabel Method

Defines a page label range for the loaded PDF starting from a specified page, setting the numbering style, prefix text, and starting number

Declaration

procedure SetLoadedPageLabel(StartPageIndex: Integer; const AStyle: AnsiString; const APrefix: AnsiString; AStart: Integer);

Unit

HPDFDoc

Parameters

NamePurpose
StartPageIndexThe zero-based page index where the new label range begins
AStyle编号样式,如 D(阿拉伯数字)、r(小写罗马)、R(大写罗马)、a/A(字母)
APrefixPage number prefix text, which will be appended before each page number (can be an empty string)
AStart该范围从 StartPageIndex 页开始使用的逻辑页码起始值

Usage notes

Related APIs