XlsWorkbook
SetColorOrGetNearest Method (Color)
|
Sets the specified color or retrieves the nearest available color if the exact color is not available.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ExcelColors SetColorOrGetNearest(
Color color
)
Public Function SetColorOrGetNearest (
color As Color
) As ExcelColors
public:
virtual ExcelColors SetColorOrGetNearest(
Color color
) sealed
abstract SetColorOrGetNearest :
color : Color -> ExcelColors
override SetColorOrGetNearest :
color : Color -> ExcelColors
Parameters
-
color
-
Type:
System.Drawing
Color
Return Value
Type:
ExcelColors
Implements
IWorkbook
SetColorOrGetNearest(Color)
See Also