Spread Silverlight Documentation
GetPaletteColor Method (IExcelWorkbook)


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

Parameters

color
An IExcelColor instance used to locate the palette color.

Return Value

The closest palette color
See Also

Reference

IExcelWorkbook Interface
IExcelWorkbook Members