TextShape 构造函数

定义

重载

TextShape()

初始化 TextShape 类的新实例。

TextShape(OpenXmlElement[])

使用指定的子元素初始化 TextShape 类的新实例。

TextShape(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 TextShape 类的新实例。

TextShape(String)

从外部 XML 初始化 TextShape 类的新实例。

TextShape()

初始化 TextShape 类的新实例。

public TextShape ();
Public Sub New ()

适用于

TextShape(OpenXmlElement[])

使用指定的子元素初始化 TextShape 类的新实例。

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())

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

TextShape(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 TextShape 类的新实例。

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))

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

TextShape(String)

从外部 XML 初始化 TextShape 类的新实例。

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

参数

outerXml
String

指定 元素的外部 XML。

适用于