Align

The Align method aligns the objects in the selection.

 

Syntax

object.Align( HorzAlign, VertAlign )

 

Parameter

Type

Description

HorzAlign

MVHAlign

optional; default=mvHANone, horizontal alignment

VertAlign

MVVAlign

optional; default=mvVANone, vertical alignment

 

Example

This example demonstrates how to align the selection of objects to the left of the bounding box.

 

Selection.Align(HorzAlign:=mvHALeft, VertAlign:=mvVANone)

 

Used by Selection collection