ExcelScript.ConditionalRangeBorder interface
Represents the border of an object.
Methods
get |
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"). |
get |
Constant value that indicates the specific side of the border. See |
get |
One of the constants of line style specifying the line style for the border. See |
set |
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"). |
set |
One of the constants of line style specifying the line style for the border. See |
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
Office Scripts