FontScheme Class
Font Scheme.When the object is serialized out as xml, its qualified name is a:fontScheme.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.FontScheme
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
<ChildElementInfoAttribute(GetType(MajorFont))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(MinorFont))> _
Public Class FontScheme _
Inherits OpenXmlCompositeElement
'使用
Dim instance As FontScheme
[ChildElementInfoAttribute(typeof(MajorFont))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(MinorFont))]
public class FontScheme : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
MajorFont <a:majorFont>
MinorFont <a:minorFont>
ExtensionList <a:extLst>
[ISO/IEC 29500-1 初版]
20.1.4.1.18 fontScheme (Font Scheme)
This element defines the font scheme within the theme. The font scheme consists of a pair of major and minor fonts for which to use in a document. The major font corresponds well with the heading areas of a document, and the minor font corresponds well with the normal text or paragraph areas.
[Example: Consider the following example of a font scheme within DrawingML:
<fontScheme name="sample">
<majorFont>
…
</majorFont>
<minorFont>
…
</minorFont>
</fontScheme>
In this example, we see the major and minor font lists within the font scheme that is named 'sample'. end example]
Parent Elements |
---|
themeElements (§20.1.6.10); themeOverride (§20.1.6.12) |
Child Elements |
Subclause |
---|---|
extLst (Extension List) |
§20.1.2.2.15 |
majorFont (Major Font) |
§20.1.4.1.24 |
minorFont (Minor fonts) |
§20.1.4.1.25 |
Attributes |
Description |
---|---|
name (Name) |
The name of the font scheme shown in the user interface. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
[Note: The W3C XML Schema definition of this element's content model (CT_FontScheme) is located in §A.4.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.