FillProperties class
Fill. When the object is serialized out as xml, its qualified name is a:fill.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.FillProperties
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
fill (Fill)
This element defines the fill that is applied to the table as a whole. The background of the table can contain a single fill that is the entire size of the table. This can allow for gradient fills, or image fills, which span the entire size of the table.
[Example: Consider the following example of a fill on a table background in DrawingML:
<fill>
<gradFill flip="none" rotWithShape="1">
<gsLst>
<gs pos="0">
<schemeClr val="accent2">
<shade val="75000"/>
</schemeClr>
</gs>
<gs pos="100000">
<schemeClr val="accent2">
<shade val="75000"/>
<tint val="20000"/>
</schemeClr>
</gs>
</gsLst>
<lin ang="2700000" scaled="1"/>
<tileRect/>
</gradFill>
</fill>In this example, we apply a gradient fill to the entire table on the background shape of the table. end example]
Parent Elements |
|---|
tblBg (§20.1.4.2.25); tcStyle (§20.1.4.2.29) |
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_FillProperties) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.