4D v13.4

Get print marker

Home

 
4D v13.4
Get print marker

Get print marker 


 

Get print marker ( markNum ) -> Function result 
Parameter Type   Description
markNum  Longint in Marker number
Function result  Longint in Position of the marker

The Get print marker command enables you to get the current position of a marker during printing.

This command can be used in two contexts:

The coordinates are returned in pixels (1 pixel = 1/72 inch).

Pass one of the constants of the Form Area theme in the markNum parameter:

Constant Type Value
Form Break0 Longint 300
Form Break1 Longint 301
Form Break2 Longint 302
Form Break3 Longint 303
Form Break4 Longint 304
Form Break5 Longint 305
Form Break6 Longint 306
Form Break7 Longint 307
Form Break8 Longint 308
Form Break9 Longint 309
Form Detail Longint 0
Form Footer Longint 100
Form Header Longint 200
Form Header1 Longint 201
Form Header10 Longint 210
Form Header2 Longint 202
Form Header3 Longint 203
Form Header4 Longint 204
Form Header5 Longint 205
Form Header6 Longint 206
Form Header7 Longint 207
Form Header8 Longint 208
Form Header9 Longint 209

Example  

Refer to the example of the SET PRINT MARKER command.

 
PROPERTIES 

Product: 4D
Theme: Printing
Number: 708

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D 2003

 
SEE ALSO 

OBJECT MOVE
SET PRINT MARKER