SupplementalFont class

Office 2013 and later

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

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

public class SupplementalFont : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

font (Font)

This element defines a font within the styles area of DrawingML. A font is defined by a script along with a typeface.

[Example: Consider the following example of a font in DrawingML:

<font script="Thai" typeface="Cordia New"/>

In this example, we see that the script 'Thai' is supposed to use the font face 'Cordia New'. end example]

Parent Elements

font (§; majorFont (§; minorFont (§



script (Script)

Specifies the script, or language, in which the typeface is supposed to be used.

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

typeface (Typeface)

Specifies the font face to use.

The possible values for this attribute are defined by the ST_TextTypeface simple type (§

[Note: The W3C XML Schema definition of this element’s content model (CT_SupplementalFont) 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.