4D Write v14

WR GET PAGE NUMBER FORMAT

Home

 
4D Write v14
WR GET PAGE NUMBER FORMAT

WR GET PAGE NUMBER FORMAT 


 

WR GET PAGE NUMBER FORMAT ( area ; format ; numType ) 
Parameter Type   Description
area  Longint in 4D Write area
format  Integer in Type of format
numType  Integer in Type of page numbering 0 = Page number, 1 = Total number of pages

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:

Constant Type Value Comment
wr 123 Longint 0 1, 2, 3...
wr abc Longint 1 a, b, c...
wr ABC Longint 2 A, B, C...
wr i ii iii Longint 3 i, ii, iii...
wr I II III Longint 4 I, II, III...

The numType parameter returns 0 if the reference is the page number and 1 if the reference is the total number of pages.

 
PROPERTIES 

Product: 4D Write
Theme: WR Database Objects
Number: 89436

 
HISTORY 

Created: 4D Write 6.5.4

 
SEE ALSO 

WR INSERT PAGE NUMBER

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)