GraphicFrame class

Office 2013 and later

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

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)

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

2.5.77 CT_GraphicFrame

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingGroup

Referenced by: CT_WordprocessingGroup, CT_WordprocessingCanvas

This type defines a container for a graphical object as specified in [ISO/IEC-29500-1] section 20.1.2.2.16 to be integrated in the context of the type defined by a CT_WordprocessingGroup.

Child Elements:

cNvPr: A CT_NonVisualDrawingProps element ([ISO/IEC-29500-1] section A.4.1) that specifies the non-visual properties of the current CT_GraphicFrame.

cNvFrPr: A CT_NonVisualGraphicFrameProperties element ([ISO/IEC-29500-1] section A.4.1) that specifies the non-visual frame properties of the current CT_GraphicFrame.

xfrm: A CT_Transform2D element ([ISO/IEC-29500-1] section A.4.1) that specifies the transformation of the current CT_GraphicFrame.

a:graphic: A CT_GraphicalObject element ([ISO/IEC-29500-1] section A.4.1) that specifies the graphical object content in the current CT_GraphicFrame.

extLst: A CT_OfficeArtExtensionList element ([ISO/IEC-29500-1] section A.4.1) to hold future extensions to the parent element of this extLst element.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_GraphicFrame">

<xsd:sequence>

<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>

<xsd:element name="cNvFrPr" type="a:CT_NonVisualGraphicFrameProperties" minOccurs="1" maxOccurs="1"/>

<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1"/>

<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>

<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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: