AlignSelected

(Engine-Level Function)

Deprecated. Do not use in new code.

Description: Aligns selected graphic objects.
Returns: Nothing
Usage: Script Only.
Function Groups: Graphics
Related to: FindVariable | Self
Format: AlignSelected(Object, Mode, Side)
Parameters:  
Object
Required. Any object expression giving the module instance where the selected objects are found. They will be aligned as specified by the Mode and Side parameters (defined below).
Mode

Required. Any numeric expression that specifies how the objects will be aligned. The possible values are provided in the following table:

Mode

Alignment Type

0

Align

1

Stretch

2

Size

3

Space

4

Tile

5

Equal space between

Side

Required. Any numeric expression that specifies what side will be used when aligning objects. This also specifies the direction for equal or even spacing.

Side

Meaning

0

Left

1

Aligns on vertical center line

2

Right

3

Top

4

Aligns on horizontal center line

5

Bottom

Comments: This statement is used by the GUI tool bar alignment buttons.