VegaRise.NET
HomeAPI Reference
Back to DOM

ThemeFontValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies a theme font slot for a given script category.

Remarks

Used by . The value selects the major (heading) or minor (body) font for a given script category (East Asian, Bidi, ASCII, High ANSI). The actual font family is resolved from the document's theme font scheme. FontPart.Theme

Examples

csharp
1// 1. Major High ANSI theme font
2var part = new FontPart { Theme = ThemeFontValues.majorHAnsi };
3
csharp
1// 2. Minor High ANSI theme font
2var part = new FontPart { Theme = ThemeFontValues.minorHAnsi };
3
csharp
1// 3. Major East Asia theme font
2var part = new FontPart { Theme = ThemeFontValues.majorEastAsia };
3
csharp
1// 4. Combine with an explicit size
2var part = new FontPart { Theme = ThemeFontValues.majorHAnsi, Size = 14.0 };
3

Fields

majorAscii

Major font for ASCII characters.

majorBidi

Major font for bidirectional scripts.

majorEastAsia

Major font for East Asian scripts.

majorHAnsi

Major font for High ANSI characters.

minorAscii

Minor font for ASCII characters.

minorBidi

Minor font for bidirectional scripts.

minorEastAsia

Minor font for East Asian scripts.

minorHAnsi

Minor font for High ANSI characters.