Background Class

Office 2010

Slide Background.When the object is serialized out as xml, its qualified name is p:bg.

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

[ChildElementInfoAttribute(typeof(BackgroundStyleReference))]
[ChildElementInfoAttribute(typeof(BackgroundProperties))]
public class Background : OpenXmlCompositeElement

The following table lists the possible child types:

  • BackgroundProperties <p:bgPr>

  • BackgroundStyleReference <p:bgRef>


[ISO/IEC 29500-1 1st Edition]

19.3.1.1 bg (Slide Background)

This element specifies the background appearance information for a slide. The slide background covers the entire slide and is visible where no objects exist and as the background for transparent objects.

Parent Elements

cSld (§19.3.1.16)

Child Elements

Subclause

bgPr (Background Properties)

§19.3.1.2

bgRef (Background Style Reference)

§19.3.1.3

Attributes

Description

bwMode (Black and White Mode)

Specifies that the background should be rendered using only black and white coloring. That is, the coloring information for the background should be converted to either black or white when rendering the picture.

[Note: No gray is to be used in rendering this background, only stark black and stark white. end note]

The possible values for this attribute are defined by the ST_BlackWhiteMode simple type (§20.1.10.10).

[Note: The W3C XML Schema definition of this element’s content model (CT_Background) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft