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, the global E2Pdf Template font will be used.
  • Font Size - is the font size of the text. If not set, the global E2Pdf Template font size will be used.
  • Char Spacing - is the character spacing of the text. It is not supported in complex languages like Bengali, Hindi, Urdu, etc.
  • Line Height - is the line height of the text. If not set, the global E2Pdf Template line height will be used.
  • Text Align - is the alignment of the text.
  • Rotation - is the text rotation. Only the text is rotated, not the element, so the element width and height must be set as you need to see it inside the PDF.
  • Vertical Align - is the vertical alignment of the text.
  • Direction - is the text direction that overwrites 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.

    The list of supported tags and styles can be found at:
    https://e2pdf.com/docs/elements/html/tags-css

    Accepts only single-level CSS selectors to apply the style: tag or class.

Value #

  • Value - is the HTML value.

    The list of supported tags and styles can be found at:
    https://e2pdf.com/docs/elements/html/tags-css

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

Actions #

  • Add Action - adds actions and conditional logic to the page number to show, hide and change properties. See how to use: Read More ››
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.