Skip to main content
Version: Next

Get print marker

Get print marker ( markNum ) : Integer

ParameterTypeDescription
markNumIntegerMarker number
Function resultIntegerPosition of the marker

This command is not thread-safe, it cannot be used in preemptive code.

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 break0Integer300
Form break1Integer301
Form break2Integer302
Form break3Integer303
Form break4Integer304
Form break5Integer305
Form break6Integer306
Form break7Integer307
Form break8Integer308
Form break9Integer309
Form detailInteger0
Form footerInteger100
Form headerInteger200
Form header1Integer201
Form header10Integer210
Form header2Integer202
Form header3Integer203
Form header4Integer204
Form header5Integer205
Form header6Integer206
Form header7Integer207
Form header8Integer208
Form header9Integer209

Example

Refer to the example of the SET PRINT MARKER command.

See also

OBJECT MOVE
SET PRINT MARKER