Aracılığıyla paylaş


TextElement Constructors

Definition

Overloads

TextElement()

Initializes a new instance of the TextElement class.

TextElement(OpenXmlElement[])

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

TextElement(IEnumerable<OpenXmlElement>)

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

TextElement(String)

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

TextElement()

Initializes a new instance of the TextElement class.

public TextElement ();
Public Sub New ()

Applies to

TextElement(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TextElement(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TextElement(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to