Shape 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
Shape() |
Initializes a new instance of the Shape class. |
Shape(OpenXmlElement[]) |
Initializes a new instance of the Shape class with the specified child elements. |
Shape(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Shape class with the specified child elements. |
Shape(String) |
Initializes a new instance of the Shape class from outer XML. |
Shape()
Initializes a new instance of the Shape class.
public Shape ();
Public Sub New ()
Applies to
Shape(OpenXmlElement[])
Initializes a new instance of the Shape class with the specified child elements.
public Shape (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office.Drawing.Shape : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office.Drawing.Shape
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Shape(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Shape class with the specified child elements.
public Shape (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office.Drawing.Shape : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office.Drawing.Shape
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Shape(String)
Initializes a new instance of the Shape class from outer XML.
public Shape (string outerXml);
new DocumentFormat.OpenXml.Office.Drawing.Shape : string -> DocumentFormat.OpenXml.Office.Drawing.Shape
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.