Diagram class

Office 2013 and later

Diagram to Animate. When the object is serialized out as xml, its qualified name is a:dgm.

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

public class Diagram : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

dgm (Diagram to Animate)

This element specifies a reference to a diagram that should be animated within a sequence of slide animations. In addition to simply acting as a reference to a diagram there is also animation build steps defined.

Parent Elements

graphicEl (§19.5.45)



bldStep (Animation Build Step)

Specifies which step this part of the diagram should be built using. For instance the diagram can be built as one object meaning it is animated as a single graphic. Alternatively the diagram can be animated, or built as separate pieces.

The possible values for this attribute are defined by the ST_DgmBuildStep simple type (§

id (Identifier)

Specifies the GUID of the shape for this build step in the animation.

The possible values for this attribute are defined by the ST_Guid simple type (§

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