Compartilhar via


FadeTransition Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.41 fade (Fade Slide Transition)

This element describes the fade slide transition effect, which smoothly fades the previous slide either directly to the new slide or first to a black screen and then to 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 “fade” 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:fade thruBlk="0"/>
</p:transition>

DocumentFormat.OpenXml.Presentation.FadeTransition

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

DocumentFormat.OpenXml.Presentation.FadeTransition

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

FadeTransition Members

DocumentFormat.OpenXml.Presentation Namespace