GraphicFrame Class

Defines the GraphicFrame Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is wpg:graphicFrame.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.DrawingGroup.GraphicFrame

Namespace:  DocumentFormat.OpenXml.Office2010.Word.DrawingGroup
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Transform2D), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualGraphicFrameProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualDrawingProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Graphic))> _
<ChildElementInfoAttribute(GetType(OfficeArtExtensionList), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class GraphicFrame _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GraphicFrame
[ChildElementInfoAttribute(typeof(Transform2D), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualGraphicFrameProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualDrawingProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Graphic))]
[ChildElementInfoAttribute(typeof(OfficeArtExtensionList), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class GraphicFrame : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NonVisualDrawingProperties <wpg:cNvPr>

  • NonVisualGraphicFrameProperties <wpg:cNvFrPr>

  • Transform2D <wpg:xfrm>

  • DocumentFormat.OpenXml.Drawing.Graphic <a:graphic>

  • OfficeArtExtensionList <wpg:extLst>

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.Office2010.Word.DrawingGroup Namespace