Doc.addPageLabel

Adds a page labeling range for the document.

class Doc
HPDF_STATUS
addPageLabel
(
uint pageNum
,
PageNumStyle style
,,
string prefix = null
)

Parameters

pageNum uint

The first page that applies this labeling range

style PageNumStyle

One of the following numbering styles:

  • PageNumStyle.DECIMAL - Arabic numerals (1 2 3 4)
  • PageNumStyle.UPPER_ROMAN - Uppercase roman numerals (I II III IV)
  • PageNumStyle.LOWER_ROMAN - Lowercase roman numerals (i ii iii iv)
  • PageNumStyle.UPPER_LETTERS - Uppercase letters (A B C D)
  • PageNumStyle,LOWER_LETTERS - Lowercase letters (a b c d)
firstPage uint

The first page number to use

prefix string

The prefix for the page label. (null is allowed.)

Meta