Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeDiagramStyle

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

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

Accepted by parameters

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 requiredposition: 0
nodeColors System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeColor} requiredposition: 1
nodeTextColor OfficeIMO.Drawing.OfficeColor requiredposition: 2
nodeOutlineColor OfficeIMO.Drawing.OfficeColor requiredposition: 3
connectorColor OfficeIMO.Drawing.OfficeColor requiredposition: 4

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.