Partager via


FontCollectionType Class

Defines the FontCollectionType class.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(LatinFont))> _
<ChildElementInfoAttribute(GetType(ComplexScriptFont))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(EastAsianFont))> _
<ChildElementInfoAttribute(GetType(SupplementalFont))> _
Public MustInherit Class FontCollectionType _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As FontCollectionType
[ChildElementInfoAttribute(typeof(LatinFont))]
[ChildElementInfoAttribute(typeof(ComplexScriptFont))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(EastAsianFont))]
[ChildElementInfoAttribute(typeof(SupplementalFont))]
public abstract class FontCollectionType : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:LatinFont <a:latin>EastAsianFont <a:ea>ComplexScriptFont <a:cs>SupplementalFont <a:font>ExtensionList <a:extLst>

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

FontCollectionType Members

DocumentFormat.OpenXml.Drawing Namespace