Partager via


Fonts 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.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.FontCollectionType
        DocumentFormat.OpenXml.Drawing.Fonts

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

Syntax

'Declaration
Public Class Fonts _
    Inherits FontCollectionType
'Usage
Dim instance As Fonts
public class Fonts : 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.2.13 font (Font)

This element defines the font to be used within a given table cell text style. This element allows for exact definition of the font within the table style instead of referencing a themed font.

Parent Elements

tcTxStyle (§20.1.4.2.30)

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

Fonts Members

DocumentFormat.OpenXml.Drawing Namespace