RunFont Class

Font.When the object is serialized out as xml, its qualified name is x:rFont.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.RunFont

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

Syntax

'Declaration
Public Class RunFont _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As RunFont
public class RunFont : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.4.5 rFont (Font)

This element is a string representing the name of the font assigned to display this run.

Parent Elements

rPr (§18.4.7)

Attributes

Description

val (String Value)

A string representing the name of the font. If the font doesn't exist (because it isn't installed on the system), or the charset not supported by that font, then another font should be substituted.

The string length for this attribute shall be 0 to 31 characters.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_FontName) is located in §A.2. 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

RunFont Members

DocumentFormat.OpenXml.Spreadsheet Namespace