version 6.0
WR O SET PREFERENCES (area; mode; firstPage; units)
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| mode | Integer | 0=No page | |
| 1=Page view | |||
| 2=Page view with frame | |||
| -1=No changes | |||
| firstPage | Integer | 0=Normal | |
| 1=Header and footer on all but first page | |||
| 2=Header and footer on first page only | |||
| -1=No changes | |||
| units | Integer | 0=Inches | |
| 1=Centimeters | |||
| 2=Points | |||
| -1=No changes |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR SET DOC PROPERTY command.
Description
The command WR O SET PREFERENCES defines the options you can use to display the document contained in area.
To leave an attribute unchanged for any one of the parameters, pass -1 for that attribute.
See Also