다음을 통해 공유


Diagram Constructors

Definition

Overloads

Diagram()

Initializes a new instance of the Diagram class.

Diagram(OpenXmlElement[])

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

Diagram(IEnumerable<OpenXmlElement>)

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

Diagram(String)

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

Diagram()

Initializes a new instance of the Diagram class.

public Diagram ();
Public Sub New ()

Applies to

Diagram(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Diagram(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Diagram(String)

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

public Diagram (string outerXml);
new DocumentFormat.OpenXml.Vml.Office.Diagram : string -> DocumentFormat.OpenXml.Vml.Office.Diagram
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to