VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfPaletteViewer Class / GetColorIndex(Point) Method
Syntax Requirements SeeAlso
In This Topic
    GetColorIndex(Point) Method (WpfPaletteViewer)
    In This Topic
    Returns the index of the color.
    Syntax
    'Declaration
    
    Public Function GetColorIndex( _
    ByVal point
    The point on viewer.
    As System.Windows.Point _
    ) As System.Int32
    public System.Int32 GetColorIndex(
    System.Windows.Point point
    )
    public: System.Int32 GetColorIndex(
    System.Windows.Point point
    )
    public:
    System.Int32 GetColorIndex(
    System.Windows.Point point
    )

    Parameters

    point
    The point on viewer.

    Return Value

    The index of color if color is found; otherwise, -1.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also