WR GET PAGE NUMBER FORMAT
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 WR GET PAGE NUMBER FORMAT command 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. You can compare the value received to the constants of the "WR Page number formats" theme:
Format type | Constant (value) |
1, 2, 3... | wr 123 (0) |
a, b, c... | wr abc (1) |
A, B, C... | wr ABC (2) |
i, ii, iii... | wr i ii iii (3) |
I, II, III... | wr I II III (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