PresentationProperties Class

Presentation-wide Properties. It is the root element of PresentationPropertiesPart.When the object is serialized out as xml, its qualified name is p:presentationPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Presentation.PresentationProperties

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

Syntax

声明
<ChildElementInfoAttribute(GetType(HtmlPublishProperties), FileFormatVersions.Office2007)> _
<ChildElementInfoAttribute(GetType(WebProperties), FileFormatVersions.Office2007)> _
<ChildElementInfoAttribute(GetType(PrintingProperties))> _
<ChildElementInfoAttribute(GetType(ShowProperties))> _
<ChildElementInfoAttribute(GetType(ColorMostRecentlyUsed))> _
<ChildElementInfoAttribute(GetType(PresentationPropertiesExtensionList))> _
Public Class PresentationProperties _
    Inherits OpenXmlPartRootElement
用法
Dim instance As PresentationProperties
[ChildElementInfoAttribute(typeof(HtmlPublishProperties), FileFormatVersions.Office2007)]
[ChildElementInfoAttribute(typeof(WebProperties), FileFormatVersions.Office2007)]
[ChildElementInfoAttribute(typeof(PrintingProperties))]
[ChildElementInfoAttribute(typeof(ShowProperties))]
[ChildElementInfoAttribute(typeof(ColorMostRecentlyUsed))]
[ChildElementInfoAttribute(typeof(PresentationPropertiesExtensionList))]
public class PresentationProperties : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • HtmlPublishProperties <p:htmlPubPr>

  • WebProperties <p:webPr>

  • PrintingProperties <p:prnPr>

  • ShowProperties <p:showPr>

  • ColorMostRecentlyUsed <p:clrMru>

  • PresentationPropertiesExtensionList <p:extLst>

[ISO/IEC 29500-1 第 1 个版本]

19.2.1.27 presentationPr (Presentation-wide Properties)

This element functions as a parent element within which additional presentation-wide document properties are contained. All properties and their corresponding settings are defined within the child elements.

Parent Elements

Root element of PresentationML Presentation Properties part

Child Elements

Subclause

clrMru (Color MRU)

§19.2.1.4

extLst (Extension List)

§19.2.1.12

prnPr (Printing Properties)

§19.2.1.28

showPr (Presentation-wide Show Properties)

§19.2.1.30

[Note: The W3C XML Schema definition of this element's content model (CT_PresentationProperties) 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.

See Also

Reference

PresentationProperties Members

DocumentFormat.OpenXml.Presentation Namespace