THotPDF.GetLoadedPageLabelText 方法
声明
function GetLoadedPageLabelText(PageIndex: Integer): UnicodeString;
参数
| 名称 | 用途 |
|---|---|
PageIndex | 从 0 开始的已加载页面索引 |
返回值
返回由最大适用 number tree 键选出的格式化标签,覆盖 decimal、Roman、alphabetic、前缀和起始编号规则
文档没有适用的 PageLabels 条目时,返回从 1 开始的 decimal 页码;PageIndex 超出已加载文档范围时返回空字符串
行为
查找过程会遍历直接或间接的 Nums 和 Kids 条目,同时施加 cycle、深度和对象数量边界,PDF 文本字符串按 Unicode 解码