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)

[ChildElementInfoAttribute(typeof(Diagram))]
[ChildElementInfoAttribute(typeof(Chart))]
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:set>
    <p:cBhvr>
      <p:cTn id="6" dur="1" fill="hold"> … </p:cTn>
      <p:tgtEl>
        <p:spTgt spid="4">
          <p:graphicEl>
            <a:dgm id="{87C2C707-C3F4-4E81-A967-A8B8AE13E575}"/>
          </p:graphicEl>
        </p:spTgt>
      </p:tgtEl>
      <p:attrNameLst> … </p:attrNameLst>
    </p:cBhvr>
    <p:to> … </p:to>
  </p:set>

end example]

Parent Elements

spTgt (§19.5.72)

Child Elements

Subclause

chart (Chart to Animate)

§20.1.2.2.3

dgm (Diagram to Animate)

§20.1.2.2.12

[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

ADD
Show:
© 2014 Microsoft