Class Border
- Namespace
- OfficeOpenXml.Style
- Assembly
- EPPlus.dll
Cell Border style
public sealed class Border : StyleBase
- Inheritance
-
Border
- Inherited Members
Properties
Bottom
Bottom border style
public ExcelBorderItem Bottom { get; }
Property Value
Diagonal
0Diagonal border style
public ExcelBorderItem Diagonal { get; }
Property Value
DiagonalDown
A diagonal from the top left to bottom right of the cell
public bool DiagonalDown { get; set; }
Property Value
DiagonalUp
A diagonal from the bottom left to top right of the cell
public bool DiagonalUp { get; set; }
Property Value
Left
Left border style
public ExcelBorderItem Left { get; }
Property Value
Right
Right border style
public ExcelBorderItem Right { get; }
Property Value
Top
Top border style
public ExcelBorderItem Top { get; }
Property Value
Methods
BorderAround(ExcelBorderStyle)
Set the border style around the range.
public void BorderAround(ExcelBorderStyle Style)
Parameters
Style
ExcelBorderStyleThe border style
BorderAround(ExcelBorderStyle, Color)
Set the border style around the range.
public void BorderAround(ExcelBorderStyle Style, Color Color)
Parameters
Style
ExcelBorderStyleThe border style
Color
ColorThe color of the border