API Reference
Class
OfficeDiagramStyle
Representable visual styling for a semantic Office diagram.
Inheritance
- Object
- OfficeDiagramStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeDiagramSnapshot.Style
Accepted by parameters
- Constructor OfficeDiagramSnapshot.OfficeDiagramSnapshot
Constructors
public OfficeDiagramStyle(String fontFamily, IEnumerable<OfficeColor> nodeColors, OfficeColor nodeTextColor, OfficeColor nodeOutlineColor, OfficeColor connectorColor) #Creates a diagram style used by shared image and PDF renderers.
Parameters
- fontFamily System.String
- nodeColors System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor}
- nodeTextColor OfficeIMO.Drawing.OfficeColor
- nodeOutlineColor OfficeIMO.Drawing.OfficeColor
- connectorColor OfficeIMO.Drawing.OfficeColor
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String FontFamily { get; } #Gets the node-label font family.
public IReadOnlyList<OfficeColor> NodeColors { get; } #Gets node fill colors, repeated when there are more nodes.
public OfficeColor NodeTextColor { get; } #Gets the node-label color.
public OfficeColor NodeOutlineColor { get; } #Gets the node-outline color.
public OfficeColor ConnectorColor { get; } #Gets the connector color.