Click or drag to resize

XlsWorkbook SetColorOrGetNearest Method (Int32, Int32, Int32)

Sets the specified color using RGB values or retrieves the nearest available color if the exact color is not supported.

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(
	int r,
	int g,
	int b
)

Parameters

r
Type: System Int32
g
Type: System Int32
b
Type: System Int32

Return Value

Type: ExcelColors

Implements

IWorkbook SetColorOrGetNearest(Int32, Int32, Int32)
See Also