Muokkaa

Jaa


Window.MergeClass property (Visio)

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

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 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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.