FontFamily Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.InternationalPropertyType
        DocumentFormat.OpenXml.Spreadsheet.FontFamily

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

Syntax

'Declaration
Public Class FontFamily _
    Inherits InternationalPropertyType
'Usage
Dim instance As FontFamily
public class FontFamily : InternationalPropertyType

Remarks

[ISO/IEC 29500-1 1st Edition]

18.8.18 family (Font Family)

The font family this font belongs to. A font family is a set of fonts having common stroke width and serif characteristics. This is system level font information. The font name overrides when there are conflicting values.

Value

Font Family

0

Not applicable.

1

Roman

2

Swiss

3

Modern

4

Script

5

Decorative

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Value)

The value of an integer, where each value corresponds to a different character set. This attribute is restricted to values ranging from 0 to 255.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_IntProperty) 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

FontFamily Members

DocumentFormat.OpenXml.Spreadsheet Namespace