Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioInspectionSnapshot

OfficeIMO.Visio

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

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

Accepted by parameters 6

Methods

public VisioInspectionDiff Diff(VisioInspectionSnapshot other) #

Compares this snapshot to another snapshot.

Parameters

other OfficeIMO.Visio.VisioInspectionSnapshot required
public 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

string

Properties

public string? Title { get; } #

Document title.

public string? Author { get; } #

Document author.

public string? ThemeType { get; } #

Document theme type, when present.

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 required