Skip to main content
Version: Next

Get print marker

Get print marker ( markNum ) -> Function result

ParameterTypeDescription
markNumLongint🡒Marker number
Function resultLongint🡐Position of the marker

Description

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:

ConstantTypeValue
Form break0Longint300
Form break1Longint301
Form break2Longint302
Form break3Longint303
Form break4Longint304
Form break5Longint305
Form break6Longint306
Form break7Longint307
Form break8Longint308
Form break9Longint309
Form detailLongint0
Form footerLongint100
Form headerLongint200
Form header1Longint201
Form header10Longint210
Form header2Longint202
Form header3Longint203
Form header4Longint204
Form header5Longint205
Form header6Longint206
Form header7Longint207
Form header8Longint208
Form header9Longint209

Example

Refer to the example of the SET PRINT MARKER command.

See also

OBJECT MOVE
SET PRINT MARKER