GraphicElement Class

Graphic Element.When the object is serialized out as xml, its qualified name is p:graphicEl.

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

public class GraphicElement : OpenXmlCompositeElement

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.Diagram <a:dgm>

  • DocumentFormat.OpenXml.Drawing.Chart <a:chart>

[ISO/IEC 29500-1 1st Edition]

19.5.45 graphicEl (Graphic Element)

This element specifies a graphical element which to animate.

[Example: Consider a diagram with an animation effect applied to it. The <graphicEl> element should be used as follows:

      <p:cTn id="6" dur="1" fill="hold"> … </p:cTn>
        <p:spTgt spid="4">
            <a:dgm id="{87C2C707-C3F4-4E81-A967-A8B8AE13E575}"/>
      <p:attrNameLst> … </p:attrNameLst>
    <p:to> … </p:to>

end example]

Parent Elements

spTgt (§19.5.72)

Child Elements


chart (Chart to Animate)


dgm (Diagram to Animate)


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

Community Additions