Click or drag to resize

XlsWorkbook GetPaletteColor Method

Method return Color object from workbook palette by its index.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Color GetPaletteColor(
	ExcelColors color
)

Parameters

color
Type: Spire.Xls ExcelColors
Index from palette array.

Return Value

Type: Color
RGB Color.

Implements

IWorkbook GetPaletteColor(ExcelColors)
See Also