共用方式為


CutTransition Class

Cut Slide Transition.When the object is serialized out as xml, its qualified name is p:cut.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.OptionalBlackTransitionType
        DocumentFormat.OpenXml.Presentation.CutTransition

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

Syntax

'Declaration
Public Class CutTransition _
    Inherits OptionalBlackTransitionType
'Usage
Dim instance As CutTransition
public class CutTransition : OptionalBlackTransitionType

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.34 cut (Cut Slide Transition)

This element describes the cut slide transition effect, which simply replaces the previous slide with the new slide instantaneously. No animation is used, but an option exists to cut to a black screen before showing the new slide. The rendering of this transition depends upon the attributes specified which have been shown below.

[Example: Consider the following cases in which the “cut” slide transition is applied to a slide, along with a set of attributes. The proper usage and sample renderings are shown below, with the XML fragments preceding the corresponding rendering:

<p:transition>
  <p:cut thruBlk="0"/>
</p:transition>

DocumentFormat.OpenXml.Presentation.CutTransition-

<p:transition>
  <p:cut thruBlk="1"/>
</p:transition>

DocumentFormat.OpenXml.Presentation.CutTransition-

end example]

[Note: Any rendering shown above is for example purposes only. Exact rendering of any transition is determined by the rendering application. As such, the same transition can have many variations depending on the implementation. end note]

Parent Elements

transition (§19.3.1.50)

Attributes

Description

thruBlk (Transition Through Black)

This attribute specifies if the transition starts from a black screen (and then transition the new slide over black).

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_OptionalBlackTransition) 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

CutTransition Members

DocumentFormat.OpenXml.Presentation Namespace