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