Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeVisioStencilCatalog

Aliases: VisioStencilCatalog
Module PSWriteOffice
Aliases
VisioStencilCatalog
Inputs
None
Outputs
OfficeIMO.Visio.Stencils.VisioStencilCatalog

Gets built-in or package-backed OfficeIMO Visio stencil catalogs.

Syntax

Get-OfficeVisioStencilCatalog [-BuiltIn <OfficeVisioBuiltInStencilCatalog>] [<CommonParameters>]
#
Parameter set: BuiltIn
Get-OfficeVisioStencilCatalog [-CatalogName <String>] [-Category <String>] [-DefaultHeight <Double>] [-DefaultWidth <Double>] [-IdPrefix <String>] [-IncludeUnsupportedMasters] [-MasterName <String[]>] [-NoConnectionPointMetadata] [-NoLearnMasterDimensions] [-NoPreviewImageMetadata] [-Path] <String[]> [-Recurse] [<CommonParameters>]
#
Parameter set: Path
Get-OfficeVisioStencilCatalog [-CatalogName <String>] [-Category <String>] [-DefaultHeight <Double>] [-DefaultWidth <Double>] [-IdPrefix <String>] [-IncludeUnsupportedMasters] -Installed [-MasterName <String[]>] [-NoConnectionPointMetadata] [-NoLearnMasterDimensions] [-NoPreviewImageMetadata] [<CommonParameters>]
#
Parameter set: Installed

Examples

Authored help example

Load and inspect the flowchart stencil catalog.

$catalog = Get-OfficeVisioStencilCatalog -BuiltIn Flowchart
Find-OfficeVisioStencil -Catalog $catalog -Query decision -First 3

Gets a built-in catalog and searches it before using stencils in a diagram.

Parameters

-BuiltIn OfficeVisioBuiltInStencilCatalog optionalsets: BuiltIn
Built-in OfficeIMO stencil catalog to return.
Possible values: All, BasicShapes, Flowchart, BlockDiagram, Architecture, Network, Infrastructure, Cloud, SecurityIdentity, ContainersKubernetes, DataPlatform, CollaborationBusiness, Swimlane, OrgChart, Timeline, Sequence
-CatalogName String optionalsets: Path, Installed
Catalog display name when loading package metadata.
-Category String optionalsets: Path, Installed
Category assigned to package-backed stencil shapes.
-DefaultHeight Double optionalsets: Path, Installed
Default height for package-backed stencils when dimensions cannot be learned.
-DefaultWidth Double optionalsets: Path, Installed
Default width for package-backed stencils when dimensions cannot be learned.
-IdPrefix String optionalsets: Path, Installed
Stable id prefix for package-backed stencil shapes.
-IncludeUnsupportedMasters SwitchParameter optionalsets: Path, Installed
Include unsupported package masters as generic generated masters.
-MasterName String[] optionalsets: Path, Installed
Optional master filters for package-backed catalogs.
-NoConnectionPointMetadata SwitchParameter optionalsets: Path, Installed
Skip reading source connection point metadata from package master parts.
-NoLearnMasterDimensions SwitchParameter optionalsets: Path, Installed
Skip reading master dimensions from package master parts.
-NoPreviewImageMetadata SwitchParameter optionalsets: Path, Installed
Skip reading preview image relationship metadata from package master parts.
-Path String[] requiredposition: 0aliases: FilePath, LiteralPathsets: Path
Visio package, package directory, or OfficeIMO native stencil manifest path.
-Recurse SwitchParameter optionalsets: Path
Search directories recursively.
-Installed SwitchParameter requiredsets: Installed
Discover installed Microsoft Visio stencils and templates.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.