Page Number

Page Number - is a Page Number / Total Pages object.



Properties #

Element #

  • ID - is the element id.
  • Page ID - is the element page id.
  • Type - is the element type.
  • Position Left - is the left position of the element.
  • Position Top - is the top position of the element.
  • Width - is the width of the element.
  • Height - is the height of the element.

Field #

  • Font Color - is the font color of the text.
  • Font - is the font of the text. If not set, global E2Pdf Template font will be used.
  • Font Size - is the font size of the text. If not set, global E2Pdf Template font size will be used.
  • Char Spacing - is the character's spacing of the text. Is not supported in complex languages like Bengali, Hindi, Urdu, etc.
  • Line Height - is the line height of the text. If not set, global E2Pdf Template line height will be used.
  • Text Align - is the alignment of the text.
  • Rotation - is the text rotation. It will be rotated just the text and not the element, so the element width and height must be set as you need to see it inside PDF.
  • Vertical Align - is the vertical alignment of the text.
  • Direction - is the direction for the text to overwrite the global E2Pdf Template setting. See when RTL must be checked: Read More ››

Style #

  • Background - is the background of the page number.
  • Padding - is the inner padding of the page number.
  • Border Color - is the border color of the page number.
  • Border - is the border width of the page number.

CSS #

  • CSS - is the CSS value.

    List of the support tags and styles can be found at:
    https://e2pdf.com/docs/elements/html/tags-css

    Can accept just single-level CSS construction to apply the style: tag or class.

Value #

  • Value - is the HTML value.

    List of the support tags and styles can be found at:
    https://e2pdf.com/docs/elements/html/tags-css

    Dynamic Values:
    • [e2pdf-page-number] - will be replaced to the page number.
    • [e2pdf-page-total] - will be replaced to the total pages number.

Actions #

  • Add Action - is a add actions and conditional logic to the page number to show, hide and change properties. See how to use: Read More ››