GraphicFrame class

Office 2013 and later

Graphic Frame. When the object is serialized out as xml, its qualified name is cdr:graphicFrame.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ChartDrawing.GraphicFrame

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

graphicFrame (Graphic Frame)

This element specifies the existence of a graphics frame. This frame contains a graphic that was generated by an external source and needs a container in which to be displayed on the slide surface.

Parent Elements

absSizeAnchor (§21.3.2.1); grpSp (§21.3.2.13); relSizeAnchor (§21.3.2.21)

Child Elements

Subclause

graphic (Graphic Object)

§20.1.2.2.16

nvGraphicFramePr (Non-Visual Graphic Frame Properties)

§21.3.2.16

xfrm (Graphic Frame Transform)

§21.3.2.28

Attributes

Description

fPublished (Publish To Server)

Specifies whether the shape shall be published with the worksheet when sent to the spreadsheet server. This is for use when interfacing with a document server.

[Example: Consider the following shape that is not published with the worksheet when it is published back on the spreadsheet server.

<cdr:relSizeAnchor>
  …
  <cdr:sp fPublished="0">
  …
  </cdr:sp>
  …
</cdr:relSize
Anchor>

end example]

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

macro (Reference to Custom Function)

This element specifies the custom function associated with the chart. [Example: A macro script, add-in function, and so on. end example]

The format of this string shall be application-defined, and should be ignored if not understood.

[Example:

<… macro="DoWork()" >

end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

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