version 2003 (Modified)
Get print marker (markNum) Number
Parameter | Type | Description | |
markNum | Number | Marker number | |
Function result | Number | 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:
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:
Constant | Type | Value |
Form Header | Longint | 200 |
Form Header1...10 | Longint | 201...210 |
Form Detail | Longint | 0 |
Form Break0...9 | Longint | 300...309 |
Form Footer | Longint | 100 |
Example
Refer to the example of the SET PRINT MARKER command.
See Also
MOVE OBJECT, SET PRINT MARKER.