AlignName property

Microsoft Visio Developer Reference

AlignName property

See also   Example   

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

Version added

2.0

Syntax

intRet = object.AlignName
object.AlignName = intNewAlignment

intRet

Integer. Returns the current alignment of the master's name.

object

Required. An expression that returns a Master object.

intNewAlignment

Required Integer. The new alignment for the master's name.

Remarks

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

Constant

Value

visLeft

1

visCenter

2

visRight

3