Graphic Class
Graphic Object.When the object is serialized out as xml, its qualified name is a:graphic.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Graphic
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(GraphicData))> _
Public Class Graphic _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Graphic
[ChildElementInfoAttribute(typeof(GraphicData))]
public class Graphic : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- GraphicData <a:graphicData>
[ISO/IEC 29500-1 1st Edition]
20.1.2.2.16 graphic (Graphic Object)
This element specifies the existence of a single graphic object. Document authors should refer to this element when they wish to persist a graphical object of some kind. The specification for this graphical object is provided entirely by the document author and referenced within the graphicData child element.
Parent Elements |
---|
anchor (§20.4.2.3); graphicFrame (§21.3.2.12); graphicFrame (§20.1.2.2.18); graphicFrame (§20.5.2.16); graphicFrame (§19.3.1.21); inline (§20.4.2.8) |
Child Elements |
Subclause |
---|---|
graphicData (Graphic Object Data) |
§20.1.2.2.17 |
[Note: The W3C XML Schema definition of this element’s content model (CT_GraphicalObject) 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.