共用方式為


Text Constructors

Definition

Overloads

Text()

Initializes a new instance of the Text class.

Text(OpenXmlElement[])

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

Text(IEnumerable<OpenXmlElement>)

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

Text(String)

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

Text()

Initializes a new instance of the Text class.

public Text ();
Public Sub New ()

Applies to

Text(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Text(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Text(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to