Background Class
Slide Background.When the object is serialized out as xml, its qualified name is p:bg.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.Background
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(BackgroundStyleReference))> _
<ChildElementInfoAttribute(GetType(BackgroundProperties))> _
Public Class Background _
Inherits OpenXmlCompositeElement
用法
Dim instance As Background
[ChildElementInfoAttribute(typeof(BackgroundStyleReference))]
[ChildElementInfoAttribute(typeof(BackgroundProperties))]
public class Background : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
BackgroundProperties <p:bgPr>
BackgroundStyleReference <p:bgRef>
[ISO/IEC 29500-1 第 1 个版本]
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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.