ExcelScript.ConditionalRangeBorder interface

Represents the border of an object.

Methods

getColor()

HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

getSideIndex()

Constant value that indicates the specific side of the border. See ExcelScript.ConditionalRangeBorderIndex for details.

getStyle()

One of the constants of line style specifying the line style for the border. See ExcelScript.BorderLineStyle for details.

setColor(color)

HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

setStyle(style)

One of the constants of line style specifying the line style for the border. See ExcelScript.BorderLineStyle for details.

Method Details

getColor()

HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

getColor(): string;

Returns

string

getSideIndex()

Constant value that indicates the specific side of the border. See ExcelScript.ConditionalRangeBorderIndex for details.

getSideIndex(): ConditionalRangeBorderIndex;

Returns

getStyle()

One of the constants of line style specifying the line style for the border. See ExcelScript.BorderLineStyle for details.

getStyle(): ConditionalRangeBorderLineStyle;

Returns

setColor(color)

HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").

setColor(color: string): void;

Parameters

color

string

Returns

void

setStyle(style)

One of the constants of line style specifying the line style for the border. See ExcelScript.BorderLineStyle for details.

setStyle(style: ConditionalRangeBorderLineStyle): void;

Parameters

Returns

void