VisioInspectionSnapshot
OfficeIMO.Visio
Deterministic structural and semantic snapshot of a Visio document.
Inheritance
- object
- VisioInspectionSnapshot
Usage
Explore 8 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.
Returned or exposed by 2
- Extension method VisioDocument.Inspect
- Method VisioInspectionExtensions.Inspect
Accepted by parameters 6
- Method VisioInspectionDiff.Compare
- Method VisioInspectionDiff.Compare
- Extension method VisioInspectionSnapshot.CreateStencilProfile
- Method VisioInspectionSnapshot.Diff
- Method VisioStencilProfile.FromSnapshot
- Method VisioStencilProfileExtensions.CreateStencilProfile
Methods
public VisioInspectionDiff Diff(VisioInspectionSnapshot other) #Compares this snapshot to another snapshot.
Parameters
- other OfficeIMO.Visio.VisioInspectionSnapshot
Returns
VisioInspectionDiffpublic override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.public string ToText() #Writes a stable line-oriented representation suitable for golden snapshots and review diffs.
Returns
stringInherited Methods
Properties
public bool UseMastersByDefault { get; } #Whether generated shapes use masters by default.
public bool WriteMasterDeltasOnly { get; } #Whether page instances write only master deltas.
public IReadOnlyList<VisioInspectionMasterSnapshot> Masters { get; } #Registered masters.
public IReadOnlyList<VisioInspectionPageSnapshot> Pages { get; } #Document pages.
public int ShapeCount { get; } #Gets the total number of shapes, including group children.
public int ConnectorCount { get; } #Gets the total number of connectors.
Extension Methods
public static VisioStencilProfile CreateStencilProfile(VisioInspectionSnapshot snapshot) #Creates a deterministic stencil usage profile from an inspection snapshot.
Parameters
- snapshot OfficeIMO.Visio.VisioInspectionSnapshot
Returns
VisioStencilProfile