API Reference
VisioStencilProfile
Aggregated view of which stencil masters, semantic shape kinds, and metadata keys a diagram uses.
Inheritance
- Object
- VisioStencilProfile
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Extension method VisioDocument.CreateStencilProfile
- Extension method VisioInspectionSnapshot.CreateStencilProfile
- Method VisioStencilProfile.FromSnapshot
- Method VisioStencilProfileExtensions.CreateStencilProfile
Methods
public static VisioStencilProfile FromSnapshot(VisioInspectionSnapshot snapshot) #VisioStencilProfileCreates a stencil profile from an inspection snapshot.
Parameters
- snapshot OfficeIMO.Visio.VisioInspectionSnapshot
public override String ToString() #Stringpublic String ToText() #StringWrites a stable line-oriented representation suitable for profile snapshots and review diffs.
Inherited Methods
Properties
public Int32 TotalShapes { get; } #Total number of inspected shapes.
public Int32 ConnectorCount { get; } #Total number of inspected connectors.
public Int32 TotalConnectionPoints { get; } #Total number of connection points exposed by inspected shapes.
public Int32 ConnectionPointShapeCount { get; } #Number of inspected shapes that expose at least one connection point.
public Int32 MasterBackedShapeCount { get; } #Number of shapes backed by any registered master.
public Int32 PackageBackedShapeCount { get; } #Number of shapes backed by masters imported from a stencil package or document package.
public Int32 GeneratedMasterBackedShapeCount { get; } #Number of shapes backed by generated OfficeIMO masters.
public Int32 BasicGeometryShapeCount { get; } #Number of direct geometry shapes not backed by a registered master.
public Int32 StencilBackedShapeCount { get; } #Number of inspected shapes that carry OfficeIMO stencil identity metadata.
public Int32 SemanticOnlyShapeCount { get; } #Number of shapes grouped only by OfficeIMO semantic kind.
public IReadOnlyList<VisioStencilUsageProfile> Usages { get; } #Stencil, master, geometry, and semantic shape usage groups.
public IReadOnlyList<VisioStencilFamilyProfile> StencilFamilies { get; } #Stencil family rollups grouped by catalog/category metadata.
public IReadOnlyList<String> ShapeDataKeys { get; } #Distinct Shape Data keys used by inspected shapes.
public IReadOnlyList<String> ConnectorShapeDataKeys { get; } #Distinct Shape Data keys used by inspected connectors.
public IReadOnlyList<String> SemanticKinds { get; } #Distinct OfficeIMO semantic kind values used by inspected shapes.
public IReadOnlyList<String> StencilCatalogs { get; } #Distinct stencil catalog names represented by inspected shapes.
public IReadOnlyList<String> StencilCategories { get; } #Distinct stencil categories represented by inspected shapes.
public IReadOnlyList<String> StencilSourcePackagePaths { get; } #Distinct source package paths represented by inspected shapes.
public IReadOnlyList<String> StencilKeywords { get; } #Distinct stencil keywords represented by inspected shapes.
public IReadOnlyList<String> StencilAliases { get; } #Distinct stencil aliases represented by inspected shapes.
public IReadOnlyList<String> StencilTags { get; } #Distinct stencil tags represented by inspected shapes.
public IReadOnlyList<String> StencilIconNameUs { get; } #Distinct stencil icon master universal names represented by inspected shapes.
public IReadOnlyList<String> StencilDefaultUnits { get; } #Distinct source default-size units represented by inspected shapes.
public IReadOnlyList<String> StencilPreviewImageContentTypes { get; } #Distinct stencil preview image content types represented by inspected shapes.
public IReadOnlyList<String> StencilPreviewImageExtensions { get; } #Distinct stencil preview image extensions represented by inspected shapes.