FontPartClass
Definition
- Namespace
- DOM.Abstracts
- Assembly
- DOM.dll
Represents the per-script font configuration (family, size, weight, italic, theme hint) for a text run.
Remarks
is the unit of font selection in the DOM. A aggregates up to four instances (Latin, East Asia, Complex Script, High ANSI) so that each script category can select its own family and size. The property allows the part to reference a theme-defined font slot instead of a concrete family name. FontPart FontPart Font Theme All properties are nullable so callers can distinguish "not specified" from an explicit value; when a property is, consumers should fall back to the inherited or document-default value. null
Examples
Constructors
Initializes a new with default (unspecified) values. FontPart
Initializes a new with the given font name, size, and optional bold/italic. FontPart
Properties
Gets or sets the name of the font family.
Gets or sets whether the font should be bold.
Gets or sets whether the font should be italic.
Gets or sets the size of the font for this script category.
Gets or sets a theme font slot to use in place of a concrete font family.