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

NameTypeAccessDescription
rangesList<LabelRange>ReadReturns all label ranges.

Methods

SignatureDescription
parse(catalog: COSDictionary)PageLabelsParses 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)StringReturns the display label for a given 0-based page index.
getRanges()List<LabelRange>Returns all label ranges.

See Also