FontSize Class

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

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

public class FontSize : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

18.4.11 sz (Font Size)

This element represents the point size (1/72 of an inch) of the Latin and East Asian text.

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Value)

A double representing the value of a positive measurement in points (1/72 of an inch).

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

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: