Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLStyle Class / IndexFromColor Method

In This Topic
    IndexFromColor Method
    In This Topic
    Search for the nearest color in the RGB space.
    Syntax
    'Declaration
     
    
    Public Shared Function IndexFromColor( _
       ByVal color As Color _
    ) As Short
    public static short IndexFromColor( 
       Color color
    )

    Parameters

    color
    See Also