Underline class

Office 2013 and later

Underline. When the object is serialized out as xml, its qualified name is x:u.

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

public class Underline : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

u (Underline)

This element represents the underline formatting style.

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Underline Value)

An enumeration representing the style of underlining that is used.

The none style is equivalent to not using underlining at all.

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

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