This documentation is archived and is not being maintained.

FontScheme Class

Font Scheme.When the object is serialized out as xml, its qualified name is x:scheme.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class FontScheme : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

18.8.35 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)



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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.