MergePosition Property [Visio 2003 SDK Documentation]

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

intRet = object**.MergePosition**

object**.MergePosition** = intVal

intRet     Long. The tab position of the merged window.

object     Required. An expression that returns a Window object.

intVal     Required Long. The new tab position of the merged window.

Version added

2002

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.

Applies to | Window object

See Also | MergeCaption property | MergeClass property | MergeID property | Type property