GrapeCity.Xaml.Excel
GetPaletteColor Method (ExcelWorkbook)


GrapeCity.Excel Namespace > ExcelWorkbook Class : GetPaletteColor Method
An IExcelColor instance used to locate the palette color.
Gets the closest palette color of specified color.
Syntax
'Declaration
 
Public Function GetPaletteColor( _
   ByVal color As IExcelColor _
) As ExcelPaletteColor
'Usage
 
Dim instance As ExcelWorkbook
Dim color As IExcelColor
Dim value As ExcelPaletteColor
 
value = instance.GetPaletteColor(color)
public ExcelPaletteColor GetPaletteColor( 
   IExcelColor color
)

Parameters

color
An IExcelColor instance used to locate the palette color.

Return Value

The closest palette color
See Also

Reference

ExcelWorkbook Class
ExcelWorkbook Members