Share via


TableBackground-Klasse

Table Background.When the object is serialized out as xml, its qualified name is a:tblBg.

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(EffectReference))> _
<ChildElementInfoAttribute(GetType(FillProperties))> _
<ChildElementInfoAttribute(GetType(FillReference))> _
<ChildElementInfoAttribute(GetType(EffectPropertiesType))> _
Public Class TableBackground _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TableBackground
[ChildElementInfoAttribute(typeof(EffectReference))]
[ChildElementInfoAttribute(typeof(FillProperties))]
[ChildElementInfoAttribute(typeof(FillReference))]
[ChildElementInfoAttribute(typeof(EffectPropertiesType))]
public class TableBackground : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • FillProperties <a:fill>

  • FillReference <a:fillRef>

  • EffectPropertiesType <a:effect>

  • EffectReference <a:effectRef>

[ISO/IEC 29500-1 1. Ausgabe]

20.1.4.2.25 tblBg (Table Background)

This element defines the formatting options which can be applied to the table background shape. The background shape is the same size as the entire table and can hold a fill or an effect which spans the entire table.

[Example: Consider the following example of a table background in use within DrawingML:

<tblBg>
<fillRef idx="2">
<schemeClr val="accent1"/>
</fillRef>
<effectRef idx="1">
<schemeClr val="accent1"/>
</effectRef>
</tblBg>

In this example, we see that there is a themed fill and themed effect being applied to the table background through the table style. end example]

Parent Elements

tableStyle (§21.1.3.11); tblStyle (§20.1.4.2.26)

Child Elements

Subclause

effect (Effect)

§20.1.4.2.7

effectRef (Effect Reference)

§20.1.4.2.8

fill (Fill)

§20.1.4.2.9

fillRef (Fill Reference)

§20.1.4.2.10

[Note: The W3C XML Schema definition of this element's content model (CT_TableBackgroundStyle) 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

TableBackground-Member

DocumentFormat.OpenXml.Drawing-Namespace