Class Border¶
Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
Cell Border style
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Bottom¶
Bottom border style
Property Value¶
Diagonal¶
0Diagonal border style
Property Value¶
DiagonalDown¶
A diagonal from the top left to bottom right of the cell
Property Value¶
DiagonalUp¶
A diagonal from the bottom left to top right of the cell
Property Value¶
Left¶
Left border style
Property Value¶
Right¶
Right border style
Property Value¶
Top¶
Top border style
Property Value¶
Methods¶
BorderAround(ExcelBorderStyle, bool)¶
Set the border style around the range.
Parameters¶
Style ExcelBorderStyle
The border style
overrideNeigbourCellBorder bool
Set to true to override the border of adjacent cells.
BorderAround(ExcelBorderStyle, Color, bool)¶
Set the border style around the range.
public void BorderAround(ExcelBorderStyle Style, Color Color, bool overrideNeigbourCellBorder = true)
Parameters¶
Style ExcelBorderStyle
The border style
Color Color
The color of the border
overrideNeigbourCellBorder bool
Set to true to override the border of adjacent cells.