Class ExcelDxfBorderBase¶
Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll
The border style of a drawing in a differential formatting record
Inheritance¶
object ← DxfStyleBase ← ExcelDxfBorderBase
Inherited Members¶
DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Bottom¶
Bottom border style
Property Value¶
HasValue¶
If the object has any properties set
Property Value¶
Horizontal¶
Horizontal border style
Property Value¶
Left¶
Left border style
Property Value¶
Right¶
Right border style
Property Value¶
Top¶
Top border style
Property Value¶
Vertical¶
Vertical border style
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 ExcelBorderStyle
The border style
themeColor eThemeSchemeColor
The theme color
BorderAround(ExcelBorderStyle, Color)¶
Set the border properties for Top/Bottom/Right and Left.
Parameters¶
borderStyle ExcelBorderStyle
The border style
color Color
The color to use
Clear()¶
Clears all properties