Excel for WPF and Silverlight
IndexFromColor Method

C1.WPF.Excel Namespace > XLStyle Class : IndexFromColor Method
Search for the nearest color in the RGB space.
Syntax
'Declaration
 
Public Shared Function IndexFromColor( _
   ByVal color As System.Windows.Media.Color _
) As System.Short
public static System.short IndexFromColor( 
   System.Windows.Media.Color color
)

Parameters

color
See Also

Reference

XLStyle Class
XLStyle Members