Spread WPF Documentation
GetPaletteColor Method (IExcelWriter)


GrapeCity.Excel Namespace > IExcelWriter Interface : GetPaletteColor Method
An IExcelColor instance used to compare with the palette color
Get the index of the closest color of the workbook color palette
Syntax
'Declaration
 
Function GetPaletteColor( _
   ByVal color As IExcelColor _
) As ExcelPaletteColor
'Usage
 
Dim instance As IExcelWriter
Dim color As IExcelColor
Dim value As ExcelPaletteColor
 
value = instance.GetPaletteColor(color)
ExcelPaletteColor GetPaletteColor( 
   IExcelColor color
)

Parameters

color
An IExcelColor instance used to compare with the palette color

Return Value

The closest palette color index
See Also

Reference

IExcelWriter Interface
IExcelWriter Members