CustomShowReference class

Office 2013 and later

Custom Show. When the object is serialized out as xml, its qualified name is p:custShow.


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

public class CustomShowReference : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

custShow (Custom Show)

This element specifies a custom show which is an ordered list of a group of slides that are contained within the presentation. The custom show element allows for the specification of a presentation order that is different from the order in which the slides themselves are stored.

[Example: Consider the following custom show list that outlines a couple custom shows for a given set of slides.

  <p:custShow name="Custom Show 1" id="0">
      <p:sld r:id="rId4"/>
      <p:sld r:id="rId3"/>
      <p:sld r:id="rId2"/>
      <p:sld r:id="rId5"/>
  <p:custShow name="Custom Show 2" id="1">
      <p:sld r:id="rId4"/>
      <p:sld r:id="rId5"/>

In the above example there are two custom shows specified. The first specifies to present the slides in the order of 4, 3, 2 then 5 while the second specifies to play only slide 4 then 5. end example]

Parent Elements

showPr (§



id (Custom Show Identifier)

This attribute specifies the custom show identification number. This is a number given that should be unique within the presentation document.

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

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