version 2003
QR Get document property (area; property) Longint
Parameter | Type | Description | |
area | Longint | Reference of the area | |
property | Longint | 1 = Print Dialog, 2 = Document unit | |
Function result | Longint | Value for the property |
Description
The QR Get document property command allows you to retrieve the display status for the print dialog box or the unit used for the document that are present in area.
In property, you can use the following constants, located in the QR Document properties constant theme:
Constant | Value |
qr printing dialog | 1 |
qr unit | 2 |
If property equals 1, the command applies to the display of the print dialog box.
- If value equals 1, the print dialog box is displayed prior to printing.
- If value equals 0, the print dialog box is not displayed prior to printing.
The default value is 1.
If property equals 2, the command applies to the document unit.
- If value equals 0, the document unit is points.
- If value equals 1, the document unit is centimeters.
- If value equals 2, the document unit is inches.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid property value, the error -9852 will be generated.
See Also