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
)
Public Function SetColorOrGetNearest (
r As Integer,
g As Integer,
b As Integer
) As ExcelColors
public:
virtual ExcelColors SetColorOrGetNearest(
int r,
int g,
int b
) sealed
abstract SetColorOrGetNearest :
r : int *
g : int *
b : int -> ExcelColors
override SetColorOrGetNearest :
r : int *
g : int *
b : int -> ExcelColors
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