Table of Contents

Class CellBorder

Namespace
Spire.Xls
Assembly
Spire.XLS.dll
public class CellBorder : IBorder, IExcelApplication
Inheritance
CellBorder
Implements
Inherited Members

Properties

Color

Returns or sets the primary color of the object, as shown in the table in the remarks section. Use the RGB function to create a color value. Read/write Color.

public Color Color { get; set; }

Property Value

Color

KnownColor

Returns or sets a ExcelColors value that represents the color of the border

public ExcelColors KnownColor { get; set; }

Property Value

ExcelColors

LineStyle

Returns or sets the line style for the border. Read/write LineStyleType.

public LineStyleType LineStyle { get; set; }

Property Value

LineStyleType

OColor

Returns or sets the primary color of the object. Read/write ExcelColors.

public OColor OColor { get; }

Property Value

OColor

Parent

public object Parent { get; }

Property Value

object

ShowDiagonalLine

Indicates whether shows diagonal line.

public bool ShowDiagonalLine { get; set; }

Property Value

bool

Methods

CopyFrom(CellBorder)

Copies styles from source border.

public void CopyFrom(CellBorder srcBorder)

Parameters

srcBorder CellBorder

GetThemeColor(out ThemeColorType, out double)

public bool GetThemeColor(out ThemeColorType type, out double tint)

Parameters

type ThemeColorType
tint double

Returns

bool

SetThemeColor(ThemeColorType, double)

public void SetThemeColor(ThemeColorType type, double tint)

Parameters

type ThemeColorType
tint double