Border

Border class

Encapsulates the object that represents the cell border.

class Border;

Methods

MethodDescription
getThemeColor()Gets and sets the theme color of the border.
setThemeColor(ThemeColor)Gets and sets the theme color of the border.
getColor()Gets or sets the System.Drawing.Color of the border.
setColor(Color)Gets or sets the System.Drawing.Color of the border.
getArgbColor()Gets and sets the color with a 32-bit ARGB value.
setArgbColor(number)Gets and sets the color with a 32-bit ARGB value.
getLineStyle()Gets or sets the cell border type.
setLineStyle(CellBorderType)Gets or sets the cell border type.

getThemeColor()

Gets and sets the theme color of the border.

getThemeColor() : ThemeColor;

Returns

ThemeColor

setThemeColor(ThemeColor)

Gets and sets the theme color of the border.

setThemeColor(value: ThemeColor) : void;

Parameters:

ParameterTypeDescription
valueThemeColorThe value to set.

getColor()

Gets or sets the System.Drawing.Color of the border.

getColor() : Color;

Returns

Color

setColor(Color)

Gets or sets the System.Drawing.Color of the border.

setColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getArgbColor()

Gets and sets the color with a 32-bit ARGB value.

getArgbColor() : number;

setArgbColor(number)

Gets and sets the color with a 32-bit ARGB value.

setArgbColor(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getLineStyle()

Gets or sets the cell border type.

getLineStyle() : CellBorderType;

Returns

CellBorderType

setLineStyle(CellBorderType)

Gets or sets the cell border type.

setLineStyle(value: CellBorderType) : void;

Parameters:

ParameterTypeDescription
valueCellBorderTypeThe value to set.