SupplementalFont Class
Font.When the object is serialized out as xml, its qualified name is a:font.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.SupplementalFont
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class SupplementalFont _
Inherits OpenXmlLeafElement
'Применение
Dim instance As SupplementalFont
public class SupplementalFont : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 редакция 1]
20.1.4.1.16 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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.