MergeID property

Microsoft Visio Developer Reference

MergeID property

   Example   

Specifies the string version of a merged window's globally unique identifier (GUID).

Version Added

2002

Syntax

strRet = object.MergeID
object.MergeID = strVal

strRet

String. The string version of a GUID.

object

Required. An expression that returns a Window object.

strVal

Required String. The new GUID.

Remarks

If this Window object is not merged, the GUID will contain all zeros (GUID_NULL).

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

Use the Type property to determine window type.