FontScheme class

Office 2013 and later

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

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

fontScheme (Font Scheme)

This element defines the font scheme within the theme. The font scheme consists of a pair of major and minor fonts for which to use in a document. The major font corresponds well with the heading areas of a document, and the minor font corresponds well with the normal text or paragraph areas.

[Example: Consider the following example of a font scheme within DrawingML:

<fontScheme name="sample">
  <majorFont>
…  </majorFont>
  <minorFont>
…  </minorFont>
</fontScheme>

In this example, we see the major and minor font lists within the font scheme that is named 'sample'. end example]

Parent Elements

themeElements (§20.1.6.10); themeOverride (§20.1.6.12)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

majorFont (Major Font)

§20.1.4.1.24

minorFont (Minor fonts)

§20.1.4.1.25

Attributes

Description

name (Name)

The name of the font scheme shown in the user interface.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_FontScheme) is located in §A.4.1. 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.
Show: