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

Application.GetCustomStencilFile Method (Visio)

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

Returns the path to the specified custom stencil used to populate certain galleries in the Microsoft Visio user interface.

Syntax

expression . GetCustomStencilFile( StencilType )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
StencilTypeRequiredVisBuiltInStencilTypesThe stencil to retrieve. See Remarks for possible values.

Return Value

String

Remarks

The StencilType parameter value must be one of the following VisBuiltInStencilTypes constants.

ConstantValueDescription
visBuiltInStencilBackgrounds0The hidden stencil that contains the shapes displayed in the Backgrounds gallery ( Design tab).
visBuiltInStencilBorders1The hidden stencil that contains the shapes displayed in the Borders and Titles gallery ( Design tab).
visBuiltInStencilContainers2The hidden stencil that contains the shapes displayed in the Container gallery ( Insert tab).
visBuiltInStencilCallouts3The hidden stencil that contains the shapes displayed in the Callout gallery ( Insert tab).
visBuiltInStencilLegends4The hidden stencil that contains the shapes displayed in the Insert Legend gallery ( Data tab).
© 2018 Microsoft