version 1
CT MOVE (area; scope; newLeft; newTop)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| scope | Longint | Scope of the command | |
| -1 = All | |||
| 0 = Selected objects | |||
| >0 = Object ID | |||
| newLeft | Real | New coordinate of the left edge | |
| newTop | Real | New coordinate of the top edge |
Description
The CT MOVE command repositions the objects in area described by scope.
If scope equals -1, CT MOVE repositions all objects in the document.
If scope equals 0, CT MOVE repositions the selected objects.
If scope is greater than 0, it must be equal to a specific object's ID and that object is repositioned.
The object(s) described by scope are moved according to the newLeft and newTop parameters, specified as offsets from the current origin.
Example
This example moves the selected objects to the top left corner of the chart area.
CT MOVE (Area;0;0;0)
See Also