Application.GetCustomStencilFile method (Visio)

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

Name Required/Optional Data type Description
StencilType Required VisBuiltInStencilTypes The stencil to retrieve. Must be one of the VisBuiltInStencilTypes constants.

Return value

String

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.