4D Chart v13

CT ALIGN

Home

 
4D Chart v13
CT ALIGN

CT ALIGN 


 

CT ALIGN ( area ; scope ; horizontal ; vertical ) 
Parameter Type   Description
area  Longint in 4D Chart area
scope  Longint in -1 = All 0 = Selected
horizontal  Integer in 0 = None 1 = Left 2 = Middle 3 = Right
vertical  Integer in 0 = None 1 = Top 2 = Middle 3 = Bottom

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)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14598

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT Get ID