ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.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 Windows.UI.Color _
    ) As System.Short
    public static System.short IndexFromColor( 
       Windows.UI.Color color
    )

    Parameters

    color
    See Also