Share via


GraphicElement Constructors

Definition

Overloads

GraphicElement()

Initializes a new instance of the GraphicElement class.

GraphicElement(OpenXmlElement[])

Initializes a new instance of the GraphicElement class with the specified child elements.

GraphicElement(IEnumerable<OpenXmlElement>)

Initializes a new instance of the GraphicElement class with the specified child elements.

GraphicElement(String)

Initializes a new instance of the GraphicElement class from outer XML.

GraphicElement()

Initializes a new instance of the GraphicElement class.

public GraphicElement ();
Public Sub New ()

Applies to

GraphicElement(OpenXmlElement[])

Initializes a new instance of the GraphicElement class with the specified child elements.

public GraphicElement (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Presentation.GraphicElement : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.GraphicElement
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

GraphicElement(IEnumerable<OpenXmlElement>)

Initializes a new instance of the GraphicElement class with the specified child elements.

public GraphicElement (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Presentation.GraphicElement : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.GraphicElement
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

GraphicElement(String)

Initializes a new instance of the GraphicElement class from outer XML.

public GraphicElement (string outerXml);
new DocumentFormat.OpenXml.Presentation.GraphicElement : string -> DocumentFormat.OpenXml.Presentation.GraphicElement
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to