Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDiagramSnapshot

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Dependency-free semantic diagram data for static rendering and export.

Inheritance

  • object
  • OfficeDiagramSnapshot

Constructors

public OfficeDiagramSnapshot(string? name, OfficeDiagramKind kind, IEnumerable<string> nodes, OfficeLength width, OfficeLength height, OfficeDiagramStyle? style = null) #

Creates a semantic diagram snapshot.

Parameters

name string? required
kind OfficeIMO.Drawing.OfficeDiagramKind required
nodes System.Collections.Generic.IEnumerable<string> required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
style OfficeIMO.Drawing.OfficeDiagramStyle? = null optional

Properties

public string? Name { get; } #

Gets the optional source diagram name.

public OfficeDiagramKind Kind { get; } #

Gets the semantic layout kind.

public IReadOnlyList<string> Nodes { get; } #

Gets node labels in semantic order.

public OfficeLength Width { get; } #

Gets the physical target width.

public OfficeLength Height { get; } #

Gets the physical target height.

public OfficeDiagramStyle? Style { get; } #

Gets optional visual styling projected from the source diagram.