Cmdlet
Import-OfficeVisioStencilCatalog
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:
BuiltInImport-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:
PathImport-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:
LiteralPathImport-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-Default]
[-DefaultHeight <OfficeLength>]
[-DefaultWidth <OfficeLength>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
-Installed
[-MasterName <String[]>]
[-Name <String>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[<CommonParameters>]#Parameter set:
InstalledImport-OfficeVisioStencilCatalog
-Catalog <VisioStencilCatalog>
[-Default]
[-Name <String>]
[<CommonParameters>]#Parameter set:
CatalogExamples
Use the native OfficeVisioStencilCatalog command.
$network = Import-OfficeVisioStencilCatalog -BuiltIn NetworkParameters
- -BuiltIn OfficeVisioBuiltInStencilCatalog
- Default All.
- Possible values:
All,BasicShapes,Flowchart,BlockDiagram,Architecture,Network,Infrastructure,Cloud,SecurityIdentity,ContainersKubernetes,DataPlatform,CollaborationBusiness,Swimlane,OrgChart,Timeline,Sequence - -Default SwitchParameter
- Inside a diagram block: make it the default catalog.
- -Name String
- Inside a diagram block: key under which the catalog is registered for VisioStencil -Catalog.
- -CatalogName String
- Name given to the loaded catalog.
- -Category String
- Category for this operation.
- -DefaultHeight OfficeLength
- Default 0.9in.
- -DefaultWidth OfficeLength
- Default 1.8in.
- -IdPrefix String
- IdPrefix for this operation.
- -IncludeUnsupportedMasters SwitchParameter
- IncludeUnsupportedMasters for this operation.
- -MasterName String[]
- MasterName for this operation.
- -NoConnectionPointMetadata SwitchParameter
- NoConnectionPointMetadata for this operation.
- -NoLearnMasterDimensions SwitchParameter
- NoLearnMasterDimensions for this operation.
- -NoPreviewImageMetadata SwitchParameter
- NoPreviewImageMetadata for this operation.
- -Path String[]
- Path for this operation.
- -Recurse SwitchParameter
- Recurse for this operation.
- -LiteralPath String[]
- LiteralPath for this operation.
- -Installed SwitchParameter
- Installed for this operation.
- -Catalog VisioStencilCatalog
- 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.