Table of Contents

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

ExcelDxfBorderItem

HasValue

If the object has any properties set

public override bool HasValue { get; }

Property Value

bool

Horizontal

Horizontal border style

public ExcelDxfBorderItem Horizontal { get; }

Property Value

ExcelDxfBorderItem

Left

Left border style

public ExcelDxfBorderItem Left { get; }

Property Value

ExcelDxfBorderItem

Right

Right border style

public ExcelDxfBorderItem Right { get; }

Property Value

ExcelDxfBorderItem

Top

Top border style

public ExcelDxfBorderItem Top { get; }

Property Value

ExcelDxfBorderItem

Vertical

Vertical border style

public ExcelDxfBorderItem Vertical { get; }

Property Value

ExcelDxfBorderItem

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.

public void BorderAround(ExcelBorderStyle borderStyle, Color color)

Parameters

borderStyle ExcelBorderStyle

The border style

color Color

The color to use

Clear()

Clears all properties

public override void Clear()