API Reference
Class
OfficeDiagramSnapshot
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
- kind OfficeIMO.Drawing.OfficeDiagramKind
- nodes System.Collections.Generic.IEnumerable{System.String}
- widthPoints System.Double
- heightPoints System.Double
- style OfficeIMO.Drawing.OfficeDiagramStyle = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.