OpenIconWindow Method [Visio 2003 SDK Documentation]
Opens an icon window that shows a master's icon.
objRet = object**.OpenIconWindow**
objRet A Window object that represents the opened window.
object Required. An expression that returns a Master object.
Version added
4.1
Remarks
If the master's icon is already displayed in an icon window, the OpenIconWindow method activates that window rather than opening another window.
Example
This Microsoft Visual Basic for Applications (VBA) macro shows how to use the OpenIconWindow method to open an icon editing window.
Public Sub OpenIconWindow_Example()
Dim vsoMaster As Visio.Master
Dim vsoIconWindow As Visio.Window
'Add a master to the document stencil and open its icon editing window.
Set vsoMaster = ThisDocument.Masters.Add
Set vsoIconWindow = vsoMaster.OpenIconWindow
End Sub
Applies to | Master object | MasterShortcut object
See Also | OpenDrawWindow method | OpenSheetWindow method | OpenStencilWindow method