Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Import-OfficeVisioStencilCatalog

Aliases: VisioStencilCatalog
Module
PSWriteOffice
Aliases
VisioStencilCatalog
Inputs
OfficeIMO.Visio.Stencils.VisioStencilCatalog System.String[]
Outputs
OfficeIMO.Visio.Stencils.VisioStencilCatalog

Loads a stencil catalog (built-in, from .vssx/.vsdx packages or installed Visio); inside a diagram block it also registers it.

Syntax

Import-OfficeVisioStencilCatalog
[-BuiltIn <OfficeVisioBuiltInStencilCatalog>]
[-Default]
[-Name <String>]
[<CommonParameters>]
#
Parameter set: BuiltIn
Import-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-Default]
[-DefaultHeight <OfficeLength>]
[-DefaultWidth <OfficeLength>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
[-MasterName <String[]>]
[-Name <String>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[-Path] <String[]>
[-Recurse]
[<CommonParameters>]
#
Parameter set: Path
Import-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-Default]
[-DefaultHeight <OfficeLength>]
[-DefaultWidth <OfficeLength>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
-LiteralPath <String[]>
[-MasterName <String[]>]
[-Name <String>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[-Recurse]
[<CommonParameters>]
#
Parameter set: LiteralPath
Import-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-Default]
[-DefaultHeight <OfficeLength>]
[-DefaultWidth <OfficeLength>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
-Installed
[-MasterName <String[]>]
[-Name <String>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[<CommonParameters>]
#
Parameter set: Installed
Import-OfficeVisioStencilCatalog
-Catalog <VisioStencilCatalog>
[-Default]
[-Name <String>]
[<CommonParameters>]
#
Parameter set: Catalog

Examples

Use the native OfficeVisioStencilCatalog command.

$network = Import-OfficeVisioStencilCatalog -BuiltIn Network

Parameters

-BuiltIn OfficeVisioBuiltInStencilCatalog optionalsets: BuiltIn
Default All.
Possible values: All, BasicShapes, Flowchart, BlockDiagram, Architecture, Network, Infrastructure, Cloud, SecurityIdentity, ContainersKubernetes, DataPlatform, CollaborationBusiness, Swimlane, OrgChart, Timeline, Sequence
-Default SwitchParameter optional
Inside a diagram block: make it the default catalog.
-Name String optional
Inside a diagram block: key under which the catalog is registered for VisioStencil -Catalog.
-CatalogName String optionalsets: Path, LiteralPath, Installed
Name given to the loaded catalog.
-Category String optionalsets: Path, LiteralPath, Installed
Category for this operation.
-DefaultHeight OfficeLength optionalsets: Path, LiteralPath, Installed
Default 0.9in.
-DefaultWidth OfficeLength optionalsets: Path, LiteralPath, Installed
Default 1.8in.
-IdPrefix String optionalsets: Path, LiteralPath, Installed
IdPrefix for this operation.
-IncludeUnsupportedMasters SwitchParameter optionalsets: Path, LiteralPath, Installed
IncludeUnsupportedMasters for this operation.
-MasterName String[] optionalsets: Path, LiteralPath, Installed
MasterName for this operation.
-NoConnectionPointMetadata SwitchParameter optionalsets: Path, LiteralPath, Installed
NoConnectionPointMetadata for this operation.
-NoLearnMasterDimensions SwitchParameter optionalsets: Path, LiteralPath, Installed
NoLearnMasterDimensions for this operation.
-NoPreviewImageMetadata SwitchParameter optionalsets: Path, LiteralPath, Installed
NoPreviewImageMetadata for this operation.
-Path String[] requiredposition: 0sets: Path
Path for this operation.
-Recurse SwitchParameter optionalsets: Path, LiteralPath
Recurse for this operation.
-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath
LiteralPath for this operation.
-Installed SwitchParameter requiredsets: Installed
Installed for this operation.
-Catalog VisioStencilCatalog requiredpipeline: True (ByValue)sets: Catalog
Catalog for this operation.

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.