EmbeddedFont-Klasse
Embedded Font.When the object is serialized out as xml, its qualified name is p:embeddedFont.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.EmbeddedFont
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Font))> _
<ChildElementInfoAttribute(GetType(BoldItalicFont))> _
<ChildElementInfoAttribute(GetType(RegularFont))> _
<ChildElementInfoAttribute(GetType(BoldFont))> _
<ChildElementInfoAttribute(GetType(ItalicFont))> _
Public Class EmbeddedFont _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As EmbeddedFont
[ChildElementInfoAttribute(typeof(Font))]
[ChildElementInfoAttribute(typeof(BoldItalicFont))]
[ChildElementInfoAttribute(typeof(RegularFont))]
[ChildElementInfoAttribute(typeof(BoldFont))]
[ChildElementInfoAttribute(typeof(ItalicFont))]
public class EmbeddedFont : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
Font <p:font>
RegularFont <p:regular>
BoldFont <p:bold>
ItalicFont <p:italic>
BoldItalicFont <p:boldItalic>
[ISO/IEC 29500-1 1. Ausgabe]
19.2.1.9 embeddedFont (Embedded Font)
This element specifies an embedded font. Once specified, this font is available for use within the presentation. Within a font specification there can be regular, bold, italic and boldItalic versions of the font specified. The actual font data for each of these is referenced using a relationships file that contains links to all available fonts. This font data contains font information for each of the characters to be made available in each version of the font.
[Example: Consider the following embedded font.
<p:embeddedFont>
<p:font typeface="MyFont" pitchFamily="34" charset="0"/>
<p:regular r:id="rId2"/>
</p:embeddedFont>
end example]
[Note: Not all characters for a typeface must be stored. It is up to the generating application to determine which characters are to be stored in the corresponding font data files. end note]
Parent Elements |
---|
embeddedFontLst (§19.2.1.10) |
Child Elements |
Subclause |
---|---|
bold (Bold Embedded Font) |
§19.2.1.1 |
boldItalic (Bold Italic Embedded Font) |
§19.2.1.2 |
font (Embedded Font Name) |
§19.2.1.13 |
italic (Italic Embedded Font) |
§19.2.1.16 |
regular (Regular Embedded Font) |
§19.2.1.29 |
[Note: The W3C XML Schema definition of this element's content model (CT_EmbeddedFontListEntry) is located in §A.3. end note]
© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.