MinorFont Class

Minor fonts.When the object is serialized out as xml, its qualified name is a:minorFont.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.FontCollectionType
        DocumentFormat.OpenXml.Drawing.MinorFont

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

Syntax

'Declaration
Public Class MinorFont _
    Inherits FontCollectionType
'Usage
Dim instance As MinorFont
public class MinorFont : FontCollectionType

Remarks

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 1st Edition]

20.1.4.1.25 minorFont (Minor fonts)

This element defines the set of minor fonts that are to be used under different languages or locals.

[Example: Consider the following example of the minor fonts being defined within DrawingML:

<minorFont>
<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"/>
</minorFont>

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.

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.

See Also

Reference

MinorFont Members

DocumentFormat.OpenXml.Drawing Namespace