API Reference
Class
VisioInspectionSnapshot
Deterministic structural and semantic snapshot of a Visio document.
Inheritance
- Object
- VisioInspectionSnapshot
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.CreateInspectionSnapshot
- Method VisioInspectionExtensions.CreateInspectionSnapshot
Accepted by parameters
Methods
public VisioInspectionDiff Diff(VisioInspectionSnapshot other) #Returns:
VisioInspectionDiffCompares this snapshot to another snapshot.
Parameters
- other OfficeIMO.Visio.VisioInspectionSnapshot
public override String ToString() #Returns:
Stringpublic String ToText() #Returns:
StringWrites a stable line-oriented representation suitable for golden snapshots and review diffs.
Inherited Methods
Properties
public String Title { get; } #Document title.
public String Author { get; } #Document author.
public String ThemeType { get; } #Document theme type, when present.
public Boolean UseMastersByDefault { get; } #Whether generated shapes use masters by default.
public Boolean WriteMasterDeltasOnly { get; } #Whether page instances write only master deltas.
public IReadOnlyList<VisioInspectionMasterSnapshot> Masters { get; } #Registered masters.
public IReadOnlyList<VisioInspectionPageSnapshot> Pages { get; } #Document pages.
public Int32 ShapeCount { get; } #Gets the total number of shapes, including group children.
public Int32 ConnectorCount { get; } #Gets the total number of connectors.
Extension Methods
public static VisioStencilProfile CreateStencilProfile(VisioInspectionSnapshot snapshot) #Returns:
VisioStencilProfileCreates a deterministic stencil usage profile for the document.
Parameters
- document OfficeIMO.Visio.VisioDocument