FontScheme class
Font Scheme. When the object is serialized out as xml, its qualified name is x:scheme.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.FontScheme
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
scheme (Scheme)
Defines the font scheme, if any, to which this font belongs. When a font definition is part of a theme definition, then the font is categorized as either a major or minor font scheme component. When a new theme is chosen, every font that is part of a theme definition is updated to use the new major or minor font definition for that theme. Usually major fonts are used for styles like headings, and minor fonts are used for body and paragraph text.
Parent Elements |
|---|
font (§18.8.22); rPr (§18.4.7) |
Attributes | Description |
|---|---|
val (Font Scheme) | Sets font scheme property. The possible values for this attribute are defined by the ST_FontScheme simple type (§18.18.33). |
[Note: The W3C XML Schema definition of this element’s content model (CT_FontScheme) is located in §A.2. end note]
© ISO/IEC29500: 2008.