Share via


Box Constructors

Definition

Overloads

Box()

Initializes a new instance of the Box class.

Box(OpenXmlElement[])

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

Box(IEnumerable<OpenXmlElement>)

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

Box(String)

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

Box()

Initializes a new instance of the Box class.

public Box ();
Public Sub New ()

Applies to

Box(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Box(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Box(String)

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

public Box (string outerXml);
new DocumentFormat.OpenXml.Office.CustomUI.Box : string -> DocumentFormat.OpenXml.Office.CustomUI.Box
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to