Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.19 KB

Visio.MasterShortcut.OpenIconWindow.md

File metadata and controls

55 lines (32 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
MasterShortcut.OpenIconWindow method (Visio)
vis_sdr.chm16016410
vis_sdr.chm16016410
Visio.MasterShortcut.OpenIconWindow
e6a736ec-14f5-0653-2024-213428e1050c
06/08/2017
medium

MasterShortcut.OpenIconWindow method (Visio)

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

[!includeSupport and feedback]