RandomBarTransition Class

Random Bar Slide Transition.When the object is serialized out as xml, its qualified name is p:randomBar.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.OrientationTransitionType
        DocumentFormat.OpenXml.Presentation.RandomBarTransition

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

Syntax

'Declaration
Public Class RandomBarTransition _
    Inherits OrientationTransitionType
'Usage
Dim instance As RandomBarTransition
public class RandomBarTransition : OrientationTransitionType

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.61 randomBar (Random Bar Slide Transition)

This element describes the randomBar slide transition effect, which uses a set of randomly placed horizontal or vertical bars on the slide that continue to be added to until the new slide is fully shown. The rendering of this transition depends upon the attributes specified which have been shown below.

[Example: Consider the following cases in which the “randomBar” 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:randomBar dir="horz"/>
</p:transition>

DocumentFormat.OpenXml.Presentation.RandomBarTrans

<p:transition>
  <p:randomBar dir="vert"/>
</p:transition>

DocumentFormat.OpenXml.Presentation.RandomBarTrans

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

dir (Transition Direction)

This attribute specifies a horizontal or vertical transition.

The possible values for this attribute are defined by the ST_Direction simple type (§19.7.2).

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

RandomBarTransition Members

DocumentFormat.OpenXml.Presentation Namespace