Share via


Window.MergePosition Property

Visio Automation Reference

Specifies the left-to-right tab position of a merged anchored window. Read/write.

Version Information
 Version Added:  Visio 2002

Syntax

expression.MergePosition

expression   A variable that represents a Window object.

Return Value
Long

Remarks

If there are n tabs, the leftmost position is 1 and the rightmost position is n. If the windows are merged in a docked stencil fashion, 1 is the topmost and n is the bottommost. A value of zero (0) means that the window is not merged.

The MergePosition property applies only to anchored windows. If the Window object is an MDI frame window, Microsoft Office Visio raises an exception.

Use the Type property to determine window type.

See Also