TextShape 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
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.