Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDiagramStyle

OfficeIMO.Drawing

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

Representable visual styling for a semantic Office diagram.

Inheritance

  • object
  • OfficeDiagramStyle

Usage

Explore 2 API references to this type

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

Returned or exposed by 1

Accepted by parameters 1

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 string required
nodeColors System.Collections.Generic.IEnumerable<OfficeIMO.OfficeColor> required
nodeTextColor OfficeIMO.OfficeColor required
nodeOutlineColor OfficeIMO.OfficeColor required
connectorColor OfficeIMO.OfficeColor required

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.