Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioStencilPackageLoadOptions

OfficeIMO.Visio.Stencils

Namespace
OfficeIMO.Visio.Stencils
Assembly
OfficeIMO.Visio
Source revision
cb53537f3ec4 with working tree changes
Modifiers
sealed

Options for creating an OfficeIMO-native stencil catalog from a Visio package.

Inheritance

  • object
  • VisioStencilPackageLoadOptions

Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 6

Constructors

public VisioStencilPackageLoadOptions() #

Properties

public string? CatalogName { get; set; } #

Gets or sets the catalog display name. Defaults to the package file name.

public string? Category { get; set; } #

Gets or sets the category assigned to loaded stencil shapes. Defaults to the catalog name.

public string? IdPrefix { get; set; } #

Gets or sets a stable id prefix. Defaults to the normalized package file name.

public IEnumerable<string>? MasterNames { get; set; } #

Gets or sets optional master filters. Values may match the master NameU, display name, relationship id, numeric id, or normalized slug.

public bool IncludeUnsupportedMasters { get; set; } #

Gets or sets whether unsupported masters should be included as generic generated masters. Defaults to false so package loading remains a learning/catalog step, not template ingestion.

public string? SourceLicense { get; set; } #

Gets or sets the source package license identifier or license notice. OfficeIMO records this caller-supplied value but does not infer licensing terms.

public string? SourceAttribution { get; set; } #

Gets or sets source attribution that must travel with catalog manifests.

public bool LearnMasterDimensions { get; set; } #

Gets or sets whether default stencil sizes should be learned from master shape dimensions when package master parts are available. Defaults to true.

public bool ExtractPreviewImageMetadata { get; set; } #

Gets or sets whether preview/icon image relationship metadata should be learned from master parts when available. Defaults to true.

public bool ExtractConnectionPointMetadata { get; set; } #

Gets or sets whether native master connection points should be learned from master parts when available. Defaults to true.

public double DefaultWidth { get; set; } #

Gets or sets the default stencil width in the caller's placement unit.

public double DefaultHeight { get; set; } #

Gets or sets the default stencil height in the caller's placement unit.