title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Document.OpenStencilWindow method (Visio) |
vis_sdr.chm10516420 |
|
|
70c3720b-b88d-4859-684b-5c7ae9c868ea |
06/08/2017 |
medium |
Opens a stencil window that shows the masters in the document.
expression.OpenStencilWindow
expression A variable that represents a Document object.
Window
If the document's stencil is already displayed in a stencil window, the OpenStencilWindow method activates that window rather than opening another window.
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
[!includeSupport and feedback]