version 1
CT SET DOCUMENT SIZE (area; width; height)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| width | Real | Width of the document (in points) | |
| -1 = No change | |||
| height | Real | Height of the document (in points) | |
| -1 = No change |
Description
The CT SET DOCUMENT SIZE command sets the size of the document area. The default size of a 4D Chart document is 588 by 768 pixels. This size may differe from the the size of a 4D Chart plug-in area or plug-in window. A 4D Chart document can measure up to 3500 x 3500 points.
width is the width of the document area in points.
height is the height of the document area in points.
Example
This example, which could be placed in the On Startup database method, sets the default document size for all new documents to 2208 x 1460 points.
CT SET DOCUMENT SIZE (-1;2208;1460)
See Also