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