MajorFont-Klasse
Major Font.When the object is serialized out as xml, its qualified name is a:majorFont.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.FontCollectionType
DocumentFormat.OpenXml.Drawing.MajorFont
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class MajorFont _
Inherits FontCollectionType
'Usage
Dim instance As MajorFont
public class MajorFont : FontCollectionType
Hinweise
The following table lists the possible child types:
LatinFont <a:latin>
EastAsianFont <a:ea>
ComplexScriptFont <a:cs>
SupplementalFont <a:font>
ExtensionList <a:extLst>
[ISO/IEC 29500-1 1. Ausgabe]
20.1.4.1.24 majorFont (Major Font)
This element defines the set of major fonts which are to be used under different languages or locals.
[Example: Consider the following example of the major fonts being defined within DrawingML:
<majorFont>
<latin typeface="Calibri"/>
<ea typeface="Arial"/>
<cs typeface="Arial"/>
<font script="Jpan" typeface="MS P????"/>
<font script="Hang" typeface="HY???"/>
<font script="Hans" typeface="??"/>
<font script="Hant" typeface="?????"/>
<font script="Arab" typeface="Traditional Arabic"/>
<font script="Hebr" typeface="Arial"/>
<font script="Thai" typeface="Cordia New"/>
<font script="Ethi" typeface="Nyala"/>
<font script="Beng" typeface="Vrinda"/>
<font script="Gujr" typeface="Shruti"/>
<font script="Khmr" typeface="DaunPenh"/>
<font script="Knda" typeface="Tunga"/>
</majorFont>
In this example, we see the latin, east asian, and complex script fonts defined along with many fonts for different locals. end example]
Parent Elements |
---|
fontScheme (§20.1.4.1.18) |
Child Elements |
Subclause |
---|---|
cs (Complex Script Font) |
§21.1.2.3.1 |
ea (East Asian Font) |
§21.1.2.3.3 |
extLst (Extension List) |
§20.1.2.2.15 |
font (Font) |
§20.1.4.1.16 |
latin (Latin Font) |
§21.1.2.3.7 |
[Note: The W3C XML Schema definition of this element's content model (CT_FontCollection) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.