共用方式為


BoldFont Class

Bold Embedded Font.When the object is serialized out as xml, its qualified name is p:bold.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.EmbeddedFontDataIdType
        DocumentFormat.OpenXml.Presentation.BoldFont

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

Syntax

'Declaration
Public Class BoldFont _
    Inherits EmbeddedFontDataIdType
'Usage
Dim instance As BoldFont
public class BoldFont : EmbeddedFontDataIdType

Remarks

[ISO/IEC 29500-1 1st Edition]

19.2.1.1 bold (Bold Embedded Font)

This element specifies a bold embedded font that is linked to a parent typeface. Once specified, this bold version of the given typeface name is available for use within the presentation. The actual font data is referenced using a relationships file that contains links to all fonts available. This font data contains font information for each of the characters to be made available.

[Example: Consider the following embedded font with a bold version specified.

<p:embeddedFont>
  <p:font typeface="MyFont" pitchFamily="34" charset="0"/>
  <p:bold 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

embeddedFont (§19.2.1.9)

Attributes

Description

id (Relationship Identifier)

Namespace: .../officeDocument/2006/relationships

Specifies the relationship identifier that is used in conjunction with a corresponding relationship file to resolve the location of this embedded font that is referenced in a presentation.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

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

© ISO/IEC29500: 2008.

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

BoldFont Members

DocumentFormat.OpenXml.Presentation Namespace