CT ALIGN

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT ALIGN (area; scope; horizontal; vertical)

ParameterTypeDescription
areaLongint4D Chart area
scopeLongint-1 = All
0 = Selected
horizontalInteger0 = None
1 = Left
2 = Middle
3 = Right
verticalInteger0 = 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
0No horizontal alignment
1Left sides
2Centers
3Right sides

The following table shows the vertical parameter values and their effects:

Value Aligns
0No vertical alignment
1Tops
2Centers
3Bottoms

Example

This example centers the selected objects both horizontally and vertically.

   CT ALIGN (Area;0;2;2)

See Also

CT Get ID.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next