| 4D Write v15WR Get doc property | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D Write v15
 WR Get doc property 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WR Get doc property ( area ; property ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D Write area | |||||
| property | Integer |   | Number of the property to read | |||||
| Function result | Real |   | Value for the property tested | |||||
The WR Get doc property command allows you to get the properties of the document currently opened in the 4D Write area referenced by area.
property can be set using one of the constants of the “WR Document properties” theme. You can either pass the constant name or its value.
For some properties, WR Get doc property returns 1 (True) or 0 (False). An example is property 2 (wr view ruler).
For other properties, WR Get doc property returns a number expressed in the current default unit. An example is property 37 (wr paper width).
For more information about the constants of the “WR Document properties” theme, refer to the description of the WR SET DOC PROPERTY command.
See the examples for the WR SET DOC PROPERTY, WR INSERT PAGE NUMBER, WR GET CURSOR POSITION and WR SET PICTURE IN PAGE INFO commands.
	Product:  4D Write
	Theme:  WR Area Control
	Number:  
        89459
        
        
        
	
	Created:  4D Write 6.5
	
	
	
	
	
	
	
	
	4D Write Language ( 4D Write v15)
	
	
	
	
	
	
	
 Add a comment
Add a comment