Freigeben über


Background-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.Background

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(BackgroundStyleReference))> _
<ChildElementInfoAttribute(GetType(BackgroundProperties))> _
Public Class Background _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Background
[ChildElementInfoAttribute(typeof(BackgroundStyleReference))]
[ChildElementInfoAttribute(typeof(BackgroundProperties))]
public class Background : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • BackgroundProperties <p:bgPr>

  • BackgroundStyleReference <p:bgRef>

[ISO/IEC 29500-1 1. Ausgabe]

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

Background-Member

DocumentFormat.OpenXml.Presentation-Namespace