WR GET PAGE NUMBER FORMAT

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.5.4


WR GET PAGE NUMBER FORMAT (area; format; numType)

ParameterTypeDescription
areaLongint4D Write area
formatIntegerType of format
numTypeIntegerType 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 typeConstant (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

WR INSERT PAGE NUMBER.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next