Direction class

Office 2013 and later

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

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

public class Direction : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

dir (Diagram Direction)

This element indicates whether the diagram should switch direction. This element provides the ability to define different behavior for diagrams considering 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: