共用方式為


TextShape Constructors

Definition

Overloads

TextShape()

Initializes a new instance of the TextShape class.

TextShape(OpenXmlElement[])

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

TextShape(IEnumerable<OpenXmlElement>)

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

TextShape(String)

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

TextShape()

Initializes a new instance of the TextShape class.

public TextShape ();
Public Sub New ()

Applies to

TextShape(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TextShape(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TextShape(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to