Click or drag to resize

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
)

Parameters

color
Type: System.Drawing Color

Return Value

Type: ExcelColors

Implements

IWorkbook SetColorOrGetNearest(Color)
See Also