OpenStencilWindow Method [Visio 2003 SDK Documentation]
Opens a stencil window that shows the masters in the document.
objRet = object**.OpenStencilWindow**
objRet A Window object that represents the opened window.
object Required. An expression that returns a Document object.
Version added
4.1
Remarks
If the document's stencil is already displayed in a stencil window, the OpenStencilWindow method activates that window rather than opening another window.
Example
This Microsoft Visual Basic for Applications (VBA) macro shows how to use the OpenStencilWindow method to open the Document Stencil window.
Public Sub OpenStencilWindow_Example()
Dim vsoStencilWindow as Visio.Window
'Open the Document Stencil window.
Set vsoStencilWindow = ThisDocument.OpenStencilWindow
End Sub
Applies to | Document object
See Also | OpenDrawWindow method | OpenIconWindow method | OpenSheetWindow method