VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ThumbnailViewer Class / PointToThumbnailIndex Methods / PointToThumbnailIndex(Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    PointToThumbnailIndex(Int32,Int32) Method (ThumbnailViewer)
    In This Topic
    Returns index of thumbnail, which is located under specified viewer point.
    Syntax
    'Declaration
    
    Public Overloads Function PointToThumbnailIndex( _
    ByVal x
    The x-coordinate on thumbnail viewer.
    As System.Int32, _
    ByVal y
    The y-coordinate on thumbnail viewer.
    As System.Int32 _
    ) As System.Int32
    public System.Int32 PointToThumbnailIndex(
    System.Int32 x,
    System.Int32 y
    )
    public: System.Int32 PointToThumbnailIndex(
    System.Int32 x,
    System.Int32 y
    )
    public:
    System.Int32 PointToThumbnailIndex(
    System.Int32 x,
    System.Int32 y
    )

    Parameters

    x
    The x-coordinate on thumbnail viewer.
    y
    The y-coordinate on thumbnail viewer.

    Return Value

    The thumbnail index.
    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