Spread Silverlight Documentation
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 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

IExcelWriter Interface
IExcelWriter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.