Table of Contents

Class ChartTextStyle

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

The text properties a chart element states for itself (c:txPr, or the a:defRPr of a rich title): size, weight, colour and Latin face.

public sealed class ChartTextStyle
Inheritance
ChartTextStyle
Inherited Members

Remarks

Every member is optional: a value that is absent is inherited from the chart space's own TextStyle and, below that, from the engine's default for the element — the theme's minor face at 10 points for labels and Arial at 18 points for a title, which is what Word draws for a part that states nothing.

Constructors

ChartTextStyle()

Properties

Bold

Gets or sets whether the text is bold (a:defRPr/@b), or null when inherited.

Color

Gets or sets the text colour (a:defRPr/a:solidFill), or null when inherited.

FontSize

Gets or sets the font size (a:defRPr/@sz, hundredths of a point) in twips, or null when inherited.

LatinFont

Gets or sets the Latin typeface (a:latin/@typeface), or null when inherited. A theme reference is kept verbatim: +mn-lt is the theme's minor face and +mj-lt its major face.

Methods

Clone()

Creates a copy.