PageNumber - Calaméo Knowledge Base
Not a Calaméo member yet?
Sign up now! It's FREE!
Get the latest news on Calaméo
Follow us on Facebook
Get Calaméo updates in real-time
Follow us on Twitter

PageNumber

From Calaméo Knowledge Base

The pageNumber element may be used for displaying which page of the document is currently being viewed as well as the total number of pages in the document.

The user may also jump to a different page by entering a new page number into the text field and pressing the Enter key.

Attributes

Attribute Default Description
Behaviors NEW See the Behaviors attribute reference
showCurrent true Specifies if the text field with the page number currently being viewed is displayed. It can be either true or false.
showTotal true Specifies if the total number of pages in the document is displayed. It can be either true or false.
editable true Specify if the text field is editable. If the text field is not editable, the current page number will be displayed as simple text. It can be either true or false.
color 0x000000 An hexadecimal color (0xFFFFFF) for the texts of the element.
size 12 Specifies the size in pixels of the texts of the element.
font _sans Specifies the fonts (comma-separated list) to use for the texts of the element. The first font of the list found on the user's system will be used.
align "right" Specifies the alignment of the text in the page number field. Either left, center or right.
A pageNumber element must be placed inside a layout element.