GrapeCity.Xaml.Excel
GetPaletteColor Method (IExcelWriter)


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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

IExcelWriter Interface
IExcelWriter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options