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
'宣言
<ChildElementInfoAttribute(GetType(LatinFont))> _
<ChildElementInfoAttribute(GetType(ComplexScriptFont))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(EastAsianFont))> _
<ChildElementInfoAttribute(GetType(SupplementalFont))> _
Public MustInherit Class FontCollectionType _
Inherits OpenXmlCompositeElement
'使用
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.