Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ExcelScript.ConditionalRangeBorder interface
- Package:
- ExcelScript
Represents the border of an object.
Remarks
Used by
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 |
| getStyle() | One of the constants of line style specifying the line style for the border. See |
| 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 |
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
Feedback
Was this page helpful?
