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

    Parameters

    point
    The point on viewer.

    Return Value

    The index of color if color is found in the viewer; 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