API Reference

Class

VisioInspectionSnapshot

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

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.

Accepted by parameters

Methods

public VisioInspectionDiff Diff(VisioInspectionSnapshot other) #
Returns: VisioInspectionDiff

Compares this snapshot to another snapshot.

Parameters

other OfficeIMO.Visio.VisioInspectionSnapshot requiredposition: 0
public override String ToString() #
Returns: String
public String ToText() #
Returns: String

Writes a stable line-oriented representation suitable for golden snapshots and review diffs.

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: VisioStencilProfile

Creates a deterministic stencil usage profile for the document.

Parameters

document OfficeIMO.Visio.VisioDocument requiredposition: 0