Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeDiagramSnapshot

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

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

Inheritance

  • Object
  • OfficeDiagramSnapshot

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public OfficeDiagramSnapshot(String name, OfficeDiagramKind kind, IEnumerable<String> nodes, Double widthPoints, Double heightPoints, OfficeDiagramStyle style = null) #

Creates a semantic diagram snapshot.

Parameters

name System.String requiredposition: 0
kind OfficeIMO.Drawing.OfficeDiagramKind requiredposition: 1
nodes System.Collections.Generic.IEnumerable{System.String} requiredposition: 2
widthPoints System.Double requiredposition: 3
heightPoints System.Double requiredposition: 4
style OfficeIMO.Drawing.OfficeDiagramStyle = null optionalposition: 5

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 Double WidthPoints { get; } #

Gets the target width in points.

public Double HeightPoints { get; } #

Gets the target height in points.

public OfficeDiagramStyle Style { get; } #

Gets optional visual styling projected from the source diagram.