Share via


Master.AlignName Property

Visio Automation Reference

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

Version Information
 Version Added:  Visio 2.0

Syntax

expression.AlignName

expression   A variable that represents a Master object.

Return Value
Integer

Remarks

Starting with Microsoft Office Visio 2003, 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

See Also