共用方式為


Graphic Constructors

Definition

Overloads

Graphic()

Initializes a new instance of the Graphic class.

Graphic(OpenXmlElement[])

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

Graphic(IEnumerable<OpenXmlElement>)

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

Graphic(String)

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

Graphic()

Initializes a new instance of the Graphic class.

public Graphic ();
Public Sub New ()

Applies to

Graphic(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Graphic(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Graphic(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to