다음을 통해 공유


Rectangle Constructors

Definition

Overloads

Rectangle()

Initializes a new instance of the Rectangle class.

Rectangle(OpenXmlElement[])

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

Rectangle(IEnumerable<OpenXmlElement>)

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

Rectangle(String)

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

Rectangle()

Initializes a new instance of the Rectangle class.

public Rectangle ();
Public Sub New ()

Applies to

Rectangle(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Rectangle(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Rectangle(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to