次の方法で共有


Fonts Class

Font Table Root Element. It is the root element of FontTablePart.When the object is serialized out as xml, its qualified name is w:fonts.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Wordprocessing.Fonts

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(Font))> _
Public Class Fonts _
    Inherits OpenXmlPartRootElement
'使用
Dim instance As Fonts
[ChildElementInfoAttribute(typeof(Font))]
public class Fonts : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • Font <w:font>

[ISO/IEC 29500-1 初版]

17.8.3.11 fonts (Font Table Root Element)

This element specifies the root element for a font table part within a WordprocessingML document, and specifies information about the fonts used in this document, each contained within a child font element.

[Example: Consider the following information stored in a font table part:

<w:fonts>
<w:font w:name="Times New Roman">
…
</w:font>
<w:font w:name="Arial">
…
</w:font>
</w:fonts>

The fonts element contains information about all fonts used in the document - in this example, the Times New Roman and Arial fonts. end example]

Parent Elements

Root element of WordprocessingML Font Table part

Child Elements

Subclause

font (Properties for a Single Font)

§17.8.3.10

[Note: The W3C XML Schema definition of this element's content model (CT_FontsList) is located in §A.1. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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.Wordprocessing Namespace