EmbedTrueTypeFonts Class

Embed TrueType Fonts.When the object is serialized out as xml, its qualified name is w:embedTrueTypeFonts.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.EmbedTrueTypeFonts

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

Syntax

声明
Public Class EmbedTrueTypeFonts _
    Inherits OnOffType
用法
Dim instance As EmbedTrueTypeFonts
public class EmbedTrueTypeFonts : OnOffType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

17.8.3.8 embedTrueTypeFonts (Embed TrueType Fonts)

This element specifies that applications shall embed the fonts in use in this document when it is saved. These fonts shall be embedded subject to the algorithm specified in §17.8.1.

If this element is omitted, then fonts in use should not be embedded in the current document.

[Example: Consider a WordprocessingML document that specifies that it shall embed fonts, including common system fonts. This requirement would be specified using the following WordprocessingML in the document settings part:

<w:embedTrueTypeFonts w:val="true" />
<w:embedSystemFonts w:val="true"/>

The embedTrueType element's val attribute has a value of true specifying that fonts should be embedded in this document when they are used. end example]

Parent Elements

settings (§17.15.1.78)

This element's content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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

EmbedTrueTypeFonts Members

DocumentFormat.OpenXml.Wordprocessing Namespace