Get print marker

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2003 (Modified)


Get print marker (markNum) Number

ParameterTypeDescription
markNumNumberMarker number
Function resultNumberPosition 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:

During the On Header form event, in the context of PRINT SELECTION and PRINT RECORD commands.

During the On Printing Detail form event, in the context of the Print form command.

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 HeaderLongint200
Form Header1...10Longint201...210
Form DetailLongint0
Form Break0...9Longint300...309
Form FooterLongint100

Example

Refer to the example of the SET PRINT MARKER command.

See Also

MOVE OBJECT, SET PRINT MARKER.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next