Skip to content

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

PropertyTypeDescription
fill?stringFill color for the highlighted area
fillOpacity?numberOpacity of the highlight fill (0-1)
range?RangeThe range to highlight with cell coordinates
sheetName?stringName of the sheet containing the highlight
stroke?stringColor of the highlight border/stroke
strokeOpacity?numberOpacity of the highlight border (0-1)
style?BorderStyleStyle of the highlight border
workbookName?stringName of the workbook containing the highlight