pageNumber specifies a page number control.
The page number control may be used for indicating 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 control and hitting the Enter key.
The text in the control may be customised using the color, fontFamily, and fontSize attributes.
| Name | Description | |
|---|---|---|
| color | Specifies the color of the text of the page number control | It can be set to any valid 6- or 3-digit hexadecimal color code or one of the 16 supported color names |
| fontFamily | Specifies the preferred font for the text of the page number control | The value of this attribute can be set to multiple comma-separated values: the first font found on the user’s system will be used |
| fontSize | Specifies the font size of the text of the page number control | It can be set to any numerical value specifying the size in pixels |
<?xml version="1.0"?> <viewer xmlns="http://issuu.com/viewer/1.0" backgroundColor="#111111"> ... <pageNumber color="black" fontFamily="Verdana,sans-serif" fontSize="8"/> </viewer>
In the example above, the page number control is set to display text in 8 px. Verdana in black color.
The pageNumber element supports all the common attributes, except the background attributes.
Copyright © 2009 Issuu Inc. All rights reserved.