version 6.5.4
WR GET PAGE NUMBER FORMAT (area; format; numType)
Parameter | Type | Description | |
area | Longint | 4D Write area | |
format | Integer | Type of format | |
numType | Integer | Type of page numbering | |
0 = Page number, 1 = Total number of pages |
Description
The command WR GET PAGE NUMBER FORMAT allows you to determine the display format and the type of numbering used in an inserted page number reference. The reference should be already selected.
The format parameter returns the display format number of the reference, to indicate which option had been chosen in the "Insert page number..." dialog box:
Format type | Value |
123 | 0 |
abc | 1 |
ABC | 2 |
Roman numerals (lower case) | 3 |
Roman numerals (upper case) | 4 |
The numType parameter returns 0 if the reference is the page number and 1 if the reference is the total number of pages.
See Also