Highlight
type Highlight = { fill?: string; fillOpacity?: number; range?: Range; sheetName?: string; stroke?: string; strokeOpacity?: number; style?: BorderStyle; workbookName?: string;};Defines a highlight overlay for rendering selected ranges or emphasized areas
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
fill? | string | Fill color for the highlighted area |
fillOpacity? | number | Opacity of the highlight fill (0-1) |
range? | Range | The range to highlight with cell coordinates |
sheetName? | string | Name of the sheet containing the highlight |
stroke? | string | Color of the highlight border/stroke |
strokeOpacity? | number | Opacity of the highlight border (0-1) |
style? | BorderStyle | Style of the highlight border |
workbookName? | string | Name of the workbook containing the highlight |