TextBody Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TextBody() |
Initializes a new instance of the TextBody class. |
TextBody(OpenXmlElement[]) |
Initializes a new instance of the TextBody class with the specified child elements. |
TextBody(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the TextBody class with the specified child elements. |
TextBody(String) |
Initializes a new instance of the TextBody class from outer XML. |
TextBody()
Initializes a new instance of the TextBody class.
public TextBody ();
Public Sub New ()
Applies to
TextBody(OpenXmlElement[])
Initializes a new instance of the TextBody class with the specified child elements.
public TextBody (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.TextBody : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.TextBody
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
TextBody(IEnumerable<OpenXmlElement>)
Initializes a new instance of the TextBody class with the specified child elements.
public TextBody (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.TextBody : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.TextBody
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
TextBody(String)
Initializes a new instance of the TextBody class from outer XML.
public TextBody (string outerXml);
new DocumentFormat.OpenXml.Drawing.TextBody : string -> DocumentFormat.OpenXml.Drawing.TextBody
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.