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 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 typeValue
1230
abc1
ABC2
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

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