Master.AlignName property (Visio)

Gets or sets the position of a master name in a stencil window. Read/write.


expression. AlignName

expression A variable that represents a Master object.

Return value



Only user-created stencils are editable. By default, Visio stencils are not editable.

The following constants declared by the Visio type library show the possible alignment values.

Constant Value
visLeft 1
visCenter 2
visRight 3

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.