setPageLabel

open fun setPageLabel(@IntRange(from = 0) pageIndex: Int, @Nullable label: String): PdfProcessorTask

Sets a label on the page. Most viewers will show the page label instead of its page number in both the document view and table of contents.

Return

Processor task describing the page processing progress.

Parameters

pageIndex

0-indexed page index of the page to set the label to.

label

Label to be set for the page. If null, the label of the page will be removed.