version 1
CT GET DOCUMENT SIZE (area; width; height)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| width | Real | Receives width of the document (in points) | |
| height | Real | Receives height of the document (in points) |
Description
The CT GET DOCUMENT SIZE command returns the size of the document area. 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 uses the CT GET DOCUMENT SIZE command to get the current document size before changing it.
CT GET DOCUMENT SIZE (Area;$Width;$Height) If ($Width<2208) CT SET DOCUMENT SIZE (Area;2208;730) End if
See Also