Share via


UnderlineFollowsText Class

Underline Follows Text.When the object is serialized out as xml, its qualified name is a:uLnTx.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.UnderlineFollowsText

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

21.1.2.3.15 uLnTx (Underline Follows Text)

This element specifies that the stroke style of an underline for a run of text should be of the same as the text run within which it is contained.

[Example: Consider the DrawingML shown below.

<p:txBody>
…
<a:p>
<a:r>
<a:rPr …>
<a:uLnTx>
</a:rPr>
      …
<a:t>Sample Text</a:t>
…
</a:r>
</a:p>
…
</p:txBody>

The underline stroke of the above text follows the stroke of the run text within which it resides. end example]

Parent Elements

defRPr (§21.1.2.3.2); endParaRPr (§21.1.2.2.3); rPr (§21.1.2.3.9)

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

UnderlineFollowsText Members

DocumentFormat.OpenXml.Drawing Namespace