VisVerticalAlignTypes Constants

Visio Automation Reference

Vertical alignment type values to pass to the Selection.Align method.

Remarks

These setttings correspond to those available in the Align Shapes dialog box. (On the Shape menu, click Align Shapes).

Constant Value Description

visVertAlignBottom

3

Align to bottom of primary selected shape.

visVertAlignMiddle

2

Align to middle of primary selected shape.

visVertAlignNone

0

No vertical alignment.

visVertAlignTop

1

Align to top of primary selected shape.