Background-Klasse
Background Formatting.When the object is serialized out as xml, its qualified name is dgm:bg.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.Background
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(EffectDag))> _
<ChildElementInfoAttribute(GetType(GroupFill))> _
<ChildElementInfoAttribute(GetType(NoFill))> _
<ChildElementInfoAttribute(GetType(SolidFill))> _
<ChildElementInfoAttribute(GetType(GradientFill))> _
<ChildElementInfoAttribute(GetType(BlipFill))> _
<ChildElementInfoAttribute(GetType(PatternFill))> _
<ChildElementInfoAttribute(GetType(EffectList))> _
Public Class Background _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Background
[ChildElementInfoAttribute(typeof(EffectDag))]
[ChildElementInfoAttribute(typeof(GroupFill))]
[ChildElementInfoAttribute(typeof(NoFill))]
[ChildElementInfoAttribute(typeof(SolidFill))]
[ChildElementInfoAttribute(typeof(GradientFill))]
[ChildElementInfoAttribute(typeof(BlipFill))]
[ChildElementInfoAttribute(typeof(PatternFill))]
[ChildElementInfoAttribute(typeof(EffectList))]
public class Background : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
DocumentFormat.OpenXml.Drawing.NoFill <a:noFill>
DocumentFormat.OpenXml.Drawing.SolidFill <a:solidFill>
DocumentFormat.OpenXml.Drawing.GradientFill <a:gradFill>
DocumentFormat.OpenXml.Drawing.BlipFill <a:blipFill>
DocumentFormat.OpenXml.Drawing.PatternFill <a:pattFill>
DocumentFormat.OpenXml.Drawing.GroupFill <a:grpFill>
DocumentFormat.OpenXml.Drawing.EffectList <a:effectLst>
DocumentFormat.OpenXml.Drawing.EffectDag <a:effectDag>
[ISO/IEC 29500-1 1. Ausgabe]
21.4.3.1 bg (Background Formatting)
This element defines formatting that can be applied to the background shape of the entire diagram. The background shape can hold formatting options just as a normal shape can hold within DrawingML.
[Example: Consider the following example of a bg in DiagramML:
<bg>
<solidFill>
<schemeClr val="tx1"/>
</solidFill>
<effectLst>
<glow rad="152400">
<schemeClr val="accent1">
<alpha val="75000"/>
</schemeClr>
</glow>
</effectLst>
</bg>
In this example we see a solid fill applied to the background of the diagram along with a glow. end example]
Parent Elements |
---|
dataModel (§21.4.2.10) |
Child Elements |
Subclause |
---|---|
blipFill (Picture Fill) |
§20.1.8.14 |
effectDag (Effect Container) |
§20.1.8.25 |
effectLst (Effect Container) |
§20.1.8.26 |
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_BackgroundFormatting) 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.