version 2003
QR SET DOCUMENT PROPERTY (area; property; value)
Parameter | Type | Description | |
area | Longint | Reference of the area | |
property | Longint | 1 = Printing dialog, 2 = Document unit | |
value | Longint | Value for the property |
Description
The QR SET DOCUMENT PROPERTY command allows you to display the printing dialog or to define the unit used for the document.
In property, you can pass 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.
- If value equals 1, the print dialog is displayed prior to printing.
- If value equals 0, the print dialog is not displayed prior to printing (default value).
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