Export (0) Print
Expand All

UnderlineFill class

Underline Fill. When the object is serialized out as xml, its qualified name is a:uFill.

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

[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(NoFill))]
public class UnderlineFill : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

uFill (Underline Fill)

This element specifies the fill color of an underline for a run of text.

[Example: Consider the DrawingML shown below.

<p:txBody>
  …  <a:p>
    <a:r>
      <a:rPr …>
        <a:uFill>
          <a:solidFill>
            <a:srgbClr val="FFFF00"/>
          </a:solidFill>
        </a:uFill>
      </a:r
Pr>
      …      <a:t>
Sample Text</a:t>
      …    </a:r>
  </a:p
>
  …</p:txBody>

The underline color of the above text is yellow specified by the srgbClr child element. end example]

Parent Elements

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

Child Elements

Subclause

blipFill (Picture Fill)

§20.1.8.14

gradFill (Gradient Fill)

§20.1.8.33

grpFill (Group Fill)

§20.1.8.35

noFill (No Fill)

§20.1.8.44

pattFill (Pattern Fill)

§20.1.8.47

solidFill (Solid Fill)

§20.1.8.54

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