public HPDF_STATUS addPageLabel(
    uint page_num, 
    PageNumStyle style, 
    uint first_page, 
    string prefix = null)

Adds a page labeling range for the document

Parameters

page_num

the first page that applies this labeling range

style

one of the following numbering styles:

  • PageNumStyle.DECIMAL - Arabic numerals (1 2 3 4)
  • PageNumStyle.UPPERROMAN - Uppercase roman numerals (I II III IV)</li> <li>PageNumStyle.LOWERROMAN - Lowercase roman numerals (i ii iii iv)
  • PageNumStyle.UPPERLETTERS - Uppercase letters (A B C D)</li> <li>PageNumStyle,LOWERLETTERS - Lowercase letters (a b c d)
  • first_page

    the first page number to use prefix - the prefix for the page label. (null is allowed.)