PageLabels
Overview
PageLabels is a class in Aspose.Pdf FOSS for Java.
Page labelling for a PDF document (ISO 32000-1:2008, §12.4.2).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ranges | List<LabelRange> | Read | Returns all label ranges. |
Methods
| Signature | Description |
|---|---|
parse(catalog: COSDictionary) → PageLabels | Parses page labels from the catalog’s {@code /PageLabels} number tree. |
updateLabel(pageIndex: int, label: PageLabel) | Updates or adds a page-label range starting at the given 0-based page index. |
getLabel(pageIndex: int) → String | Returns the display label for a given 0-based page index. |
getRanges() → List<LabelRange> | Returns all label ranges. |