Background class
Background Formatting. When the object is serialized out as xml, its qualified name is dgm:bg.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.Background
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
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.