4D v14.3

QR Get document property

Home

 
4D v14.3
QR Get document property

QR Get document property 


 

QR Get document property ( area ; property ) -> Function result 
Parameter Type   Description
area  Longint in Reference of the area
property  Longint in 1 = Print Dialog, 2 = Document unit
Function result  Longint in Value for the property

The QR Get document property command retrieves 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 Type Value Comment
qr printing dialog Longint 1 Display of the print dialog box:
  • If value = 0, the print dialog is not displayed prior to printing.
  • If value = 1, the print dialog is displayed prior to printing (default value).
qr unit Longint 2 Document unit: 
  • If value = 0, the document unit is points.
  • If value = 1, the document unit is centimeters.
  • If value = 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.

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 773

 
HISTORY 

Created: 4D 2003

 
SEE ALSO 

QR SET DOCUMENT PROPERTY

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)