Table of Contents

Class ResolvedCharacterProperties

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

The fully-resolved formatting of a run: every value concrete, no style references, theme fonts and colors resolved, toggle XOR applied. Instances are immutable and shared across runs with identical formatting (the resolver memoizes them).

public sealed class ResolvedCharacterProperties
Inheritance
ResolvedCharacterProperties
Inherited Members

Properties

Bold

Gets bold for non-complex scripts.

BoldComplexScript

Gets bold for complex scripts.

Border

Gets the resolved run border.

Caps

Gets display-as-capitals.

CharacterSpacing

Gets expanded/condensed inter-character spacing in twips.

Color

Gets the concrete text color (may be Auto, resolved contextually at render time).

DoubleStrike

Gets double strikethrough.

Emboss

Gets embossed text.

FontAscii

Gets the concrete font for ASCII characters.

FontComplexScript

Gets the concrete font for complex-script characters.

FontEastAsia

Gets the concrete font for East Asian characters.

FontHighAnsi

Gets the concrete font for high-ANSI characters.

FontHint

Gets the ambiguous-character classification hint.

FontSize

Gets the font size in twips.

FontSizeComplexScript

Gets the complex-script font size in twips.

Highlight

Gets the highlight color.

Imprint

Gets imprinted text.

IsHiddenTextShown

Gets whether this is hidden text laid out because ShowHiddenText is on: its Vanish is then false, and layout marks it (LayoutMarkKind.HiddenText) with formatting marks on.

Italic

Gets italic for non-complex scripts.

ItalicComplexScript

Gets italic for complex scripts.

Kerning

Gets the minimum size at which kerning applies, in twips (zero disables).

LanguageBidi

Gets the complex-script language tag, or null.

LanguageEastAsia

Gets the East Asian language tag, or null.

LanguageLatin

Gets the Latin-script language tag, or null.

Ligatures

Gets the ligature features the run states (w14:ligatures), the nearest statement winning like any other run property. What it states is not always what Word applies: the compatibility mode and the run's character spacing decide that (WQ-0087).

Outline

Gets outline text.

Position

Gets the baseline offset in twips.

RightToLeft

Gets right-to-left run direction.

Scale

Gets the horizontal scaling percentage (100 = none).

Shading

Gets the resolved run shading.

Shadow

Gets shadowed text.

SmallCaps

Gets small capitals.

Strike

Gets single strikethrough.

Underline

Gets the underline pattern.

UnderlineColor

Gets the concrete underline color.

Vanish

Gets hidden text.

VerticalAlignment

Gets sub/superscript positioning.