version 1
CT ALIGN (area; scope; horizontal; vertical)
| Parameter | Type | Description | |
| area | Longint | 4D Chart area | |
| scope | Longint | -1 = All | |
| 0 = Selected | |||
| horizontal | Integer | 0 = None | |
| 1 = Left | |||
| 2 = Middle | |||
| 3 = Right | |||
| vertical | Integer | 0 = None | |
| 1 = Top | |||
| 2 = Middle | |||
| 3 = Bottom |
Description
The CT ALIGN command aligns the objects in area described by scope.
If scope equals -1, CT ALIGN aligns all objects in the document.
If scope equals 0, CT ALIGN aligns the selected objects.
The object(s) described by scope are aligned according to the horizontal and vertical parameters.
Following are the values for the Horizontal parameter, a description of their effects, and the corresponding icons in the Align Objects dialog box
The following table shows the horizontal parameter values and their effects:
| Value | Aligns |
| 0 | No horizontal alignment |
| 1 | Left sides |
| 2 | Centers |
| 3 | Right sides |
The following table shows the vertical parameter values and their effects:
| Value | Aligns |
| 0 | No vertical alignment |
| 1 | Tops |
| 2 | Centers |
| 3 | Bottoms |
Example
This example centers the selected objects both horizontally and vertically.
CT ALIGN (Area;0;2;2)
See Also