Partager via


Window.MergeClass Property

Visio Automation Reference

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

Version Information
 Version Added:  Visio 2002

Syntax

expression.MergeClass

expression   A variable that represents a Window object.

Return Value
String

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.

See Also