共用方式為


SwitchTransition Class

Defines the SwitchTransition Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:switch.

Inheritance Hierarchy

System.Object
  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)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class SwitchTransition _
    Inherits LeftRightDirectionTransitionType
'Usage
Dim instance As SwitchTransition
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class SwitchTransition : LeftRightDirectionTransitionType

Remarks

2.5.1 CT_LeftRightDirectionTransition

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

Referenced by: flip, gallery

A complex type that specifies a transition restricted to left and right directions.

Attributes:

dir : An ST_TransitionLeftRightDirectionType attribute 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).

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

SwitchTransition Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace