Table of contents
TOC
Collapse the table of content
Expand the table of content

MasterShortcut.OpenIconWindow Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Opens an icon window that shows a master's icon.

Syntax

expression . OpenIconWindow

expression A variable that represents a MasterShortcut object.

Return Value

Window

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
© 2018 Microsoft