Freigeben über


FillProperties-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
Public Class FillProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As FillProperties
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
public class FillProperties : OpenXmlCompositeElement

Hinweise

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. Ausgabe]

20.1.4.2.9 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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

FillProperties-Member

DocumentFormat.OpenXml.Drawing-Namespace