SwitchTransition class
Defines the SwitchTransition Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is p14:switch.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.PowerPoint.LeftRightDirectionTransitionType
DocumentFormat.OpenXml.Office2010.PowerPoint.SwitchTransition
Namespace: DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.3.2 switch
Target namespace: http://schemas.microsoft.com/office/powerpoint/2010/main
A CT_LeftRightDirectionTransition element (section 2.5.1) that specifies a switch transition. See section 2.2.1 for how this element integrates with [ISO/IEC-29500:2008].
The following figure is a sample with dir equal to "r" (right):
7e6b0205-fb87-475f-979f-8c08cc20959e
Figure 2: Sample switch transition
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="switch" type="CT_LeftRightDirectionTransition"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.1 CT_LeftRightDirectionTransition
Target namespace: http://schemas.microsoft.com/office/powerpoint/2010/main
Referenced by: switch, flip, ferris, gallery, conveyor
A complex type that specifies a transition restricted to left and right directions.
Attributes:
dir: An ST_TransitionLeftRightDirectionType attribute (section 2.6.6) that specifies the direction presentation slides move during the transition.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_LeftRightDirectionTransition">
<xsd:attribute name="dir" type="ST_TransitionLeftRightDirectionType"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).