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
)
Public Function GetPaletteColor (
color As ExcelColors
) As Color
public:
virtual Color GetPaletteColor(
ExcelColors color
) sealed
abstract GetPaletteColor :
color : ExcelColors -> Color
override GetPaletteColor :
color : ExcelColors -> Color
Parameters
-
color
-
Type:
Spire.Xls
ExcelColors
Index from palette array.
Return Value
Type:
Color
RGB Color.
Implements
IWorkbook
GetPaletteColor(ExcelColors)
See Also