Поделиться через


GraphicFrame Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(NonVisualGraphicFrameProperties))> _
<ChildElementInfoAttribute(GetType(Graphic))> _
<ChildElementInfoAttribute(GetType(Transform2D))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class GraphicFrame _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GraphicFrame
[ChildElementInfoAttribute(typeof(NonVisualGraphicFrameProperties))]
[ChildElementInfoAttribute(typeof(Graphic))]
[ChildElementInfoAttribute(typeof(Transform2D))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class GraphicFrame : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NonVisualGraphicFrameProperties <a:nvGraphicFramePr>

  • Graphic <a:graphic>

  • Transform2D <a:xfrm>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.18 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

grpSp (§20.1.2.2.20); lockedCanvas (§20.3.2.1)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

graphic (Graphic Object)

§20.1.2.2.16

nvGraphicFramePr (Non-Visual Properties for a Graphic Frame)

§20.1.2.2.26

xfrm (2D Transform for Individual Objects)

§20.1.7.6

[Note: The W3C XML Schema definition of this element’s content model (CT_GvmlGraphicalObjectFrame) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

GraphicFrame Members

DocumentFormat.OpenXml.Drawing Namespace