Поделиться через


UnderlineFill Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.UnderlineFill

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

Syntax

'Декларация
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(GroupFill))> _
Public Class UnderlineFill _
    Inherits OpenXmlCompositeElement
'Применение
Dim instance As UnderlineFill
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(GroupFill))]
public class UnderlineFill : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NoFill <a:noFill>

  • SolidFill <a:solidFill>

  • GradientFill <a:gradFill>

  • BlipFill <a:blipFill>

  • PatternFill <a:pattFill>

  • GroupFill <a:grpFill>

[ISO/IEC 29500-1 редакция 1]

21.1.2.3.12 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:rPr>
      …
<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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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

UnderlineFill Members

DocumentFormat.OpenXml.Drawing Namespace