Share via


MergeClass Property [Visio 2003 SDK Documentation]

Specifies a list of window classes that this anchored window can merge with.

strRet = object**.MergeClass**

object**.MergeClass** = strVal

strRet     String. A list of window classes that this window can currently merge with.

object     Required. An expression that returns a Window object.

strVal     Required String. A new list of window classes that this window can merge with.

Version added

2002

Remarks

Use semicolons to separate individual items in the list. For example, if the MergeClass property returns a string that contains "123;789", it can merge with any windows that also contain "123" or "789" in its merge class list. Windows that have a merge class list that contains a zero-length string ("") can merge with other windows that contain a zero-length string ("") in their merge class list.

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

At present, windows of type visDocked can be merged only with other windows of type visDocked, and windows of type visAnchorBar can be merged only with other windows of type visAnchorBar.

Use the Type property to determine window type.

Applies to | Window object

See Also | MergeCaption property | MergeID property | MergePosition property | Type property