共用方式為


ShowProperties Class

Presentation-wide Show Properties.When the object is serialized out as xml, its qualified name is p:showPr.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(KioskSlideMode))> _
<ChildElementInfoAttribute(GetType(SlideAll))> _
<ChildElementInfoAttribute(GetType(PresenterSlideMode))> _
<ChildElementInfoAttribute(GetType(BrowseSlideMode))> _
<ChildElementInfoAttribute(GetType(CustomShowReference))> _
<ChildElementInfoAttribute(GetType(ShowPropertiesExtensionList))> _
<ChildElementInfoAttribute(GetType(SlideRange))> _
<ChildElementInfoAttribute(GetType(PenColor))> _
Public Class ShowProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ShowProperties
[ChildElementInfoAttribute(typeof(KioskSlideMode))]
[ChildElementInfoAttribute(typeof(SlideAll))]
[ChildElementInfoAttribute(typeof(PresenterSlideMode))]
[ChildElementInfoAttribute(typeof(BrowseSlideMode))]
[ChildElementInfoAttribute(typeof(CustomShowReference))]
[ChildElementInfoAttribute(typeof(ShowPropertiesExtensionList))]
[ChildElementInfoAttribute(typeof(SlideRange))]
[ChildElementInfoAttribute(typeof(PenColor))]
public class ShowProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • PresenterSlideMode <p:present>

  • BrowseSlideMode <p:browse>

  • KioskSlideMode <p:kiosk>

  • SlideAll <p:sldAll>

  • SlideRange <p:sldRg>

  • CustomShowReference <p:custShow>

  • PenColor <p:penClr>

  • ShowPropertiesExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition]

19.2.1.30 showPr (Presentation-wide Show Properties)

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

Parent Elements

presentationPr (§19.2.1.27)

Child Elements

Subclause

browse (Browse Slide Show Mode)

§19.2.1.3

custShow (Custom Show)

§19.2.1.5

extLst (Extension List)

§19.2.1.12

kiosk (Kiosk Slide Show Mode)

§19.2.1.18

penClr (Pen Color for Slide Show)

§19.2.1.23

present (Presenter Slide Show Mode)

§19.2.1.25

sldAll (All Slides)

§19.2.1.32

sldRg (Slide Range)

§19.2.1.38

Attributes

Description

loop (Loop Slide Show)

Specifies whether the slide show should be set to loop at the end.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

showAnimation (Show Animation in Slide Show)

Specifies whether slide show animation should be shown when presenting.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

showNarration (Show Narration in Slide Show)

Specifies whether slide show narration should be played when presenting.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

useTimings (Use Timings in Slide Show)

Specifies whether slide transition timings should be used to advance slides when presenting.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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

© ISO/IEC29500: 2008.

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

ShowProperties Members

DocumentFormat.OpenXml.Presentation Namespace