version 1
CT SIZE (area; scope; width; height)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| scope | Longint | Scope of the command | |
| -1 = All | |||
| 0 = Selected objects | |||
| >0 = Object ID | |||
| width | Real | New width (in points) | |
| -1 = No change | |||
| height | Real | New height (in points) | |
| -1 = No change |
Description
The CT SIZE command resizes the objects described in area by scope. When you resize an object, the top left corner of the object is anchored.
If scope equals -1, CT SIZE resizes all objects in the document.
If scope equals 0, CT SIZE resizes the selected objects.
If scope is greater than 0, it must be equal to a specific object's ID and that object is resized.
The object(s) described by scope are resized according to the width and height parameters, specified in points.
Example
This example resizes the object with ID equal to 5.
CT SIZE (Area;5;10;10)
See Also