RandomBarTransition Class

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

Inheritance Hierarchy


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


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


[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:randomBar dir="horz"/>


  <p:randomBar dir="vert"/>


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 (§



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


RandomBarTransition Members

DocumentFormat.OpenXml.Presentation Namespace