Class ExcelDxfBorderBase
- Namespace
- OfficeOpenXml.Style.Dxf
- Assembly
- EPPlus.dll
The border style of a drawing in a differential formatting record
public class ExcelDxfBorderBase : DxfStyleBase
- Inheritance
-
ExcelDxfBorderBase
- Inherited Members
Properties
Bottom
Bottom border style
public ExcelDxfBorderItem Bottom { get; }
Property Value
HasValue
If the object has any properties set
public override bool HasValue { get; }
Property Value
Horizontal
Horizontal border style
public ExcelDxfBorderItem Horizontal { get; }
Property Value
Left
Left border style
public ExcelDxfBorderItem Left { get; }
Property Value
Right
Right border style
public ExcelDxfBorderItem Right { get; }
Property Value
Top
Top border style
public ExcelDxfBorderItem Top { get; }
Property Value
Vertical
Vertical border style
public ExcelDxfBorderItem Vertical { get; }
Property Value
Methods
BorderAround(ExcelBorderStyle, eThemeSchemeColor)
Set the border properties for Top/Bottom/Right and Left.
public void BorderAround(ExcelBorderStyle borderStyle = ExcelBorderStyle.Thin, eThemeSchemeColor themeColor = eThemeSchemeColor.Accent1)
Parameters
borderStyle
ExcelBorderStyleThe border style
themeColor
eThemeSchemeColorThe theme color
BorderAround(ExcelBorderStyle, Color)
Set the border properties for Top/Bottom/Right and Left.
public void BorderAround(ExcelBorderStyle borderStyle, Color color)
Parameters
borderStyle
ExcelBorderStyleThe border style
color
ColorThe color to use
Clear()
Clears all properties
public override void Clear()