Direction Class

Diagram Direction.When the object is serialized out as xml, its qualified name is dgm:dir.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Diagrams.Direction

Namespace:  DocumentFormat.OpenXml.Drawing.Diagrams
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Direction _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Direction
public class Direction : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

21.4.6.6 dir (Diagram Direction)

This element indicates whether the diagram should switch direction. This element provides the ability to define different behavior for diagrams considering LTR or RTL directions.

Parent Elements

presLayoutVars (§21.4.5.4); varLst (§21.4.2.31)

Attributes

Description

val (Diagram Direction Value)

This variable indicates whether the diagram should switch direction.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Direction) is located in §A.5.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

Direction Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace