QR Get document property

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


QR Get document property (area; property) Longint

ParameterTypeDescription
areaLongintReference of the area
propertyLongint1 = Print Dialog, 2 = Document unit
Function resultLongintValue 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:

ConstantValue
qr printing dialog1
qr unit2

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

QR SET DOCUMENT PROPERTY.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next