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 (§20.1.4.2.13); majorFont (§20.1.4.1.24); minorFont (§20.1.4.1.25)

Attributes

Description

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 (§20.1.10.81).

[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.
Show: