VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / GetImageIndexByLocation(Point) Method
Syntax Requirements SeeAlso
In This Topic
    GetImageIndexByLocation(Point) Method (WpfImageViewer)
    In This Topic
    Returns the image index by location.
    Syntax
    'Declaration
    
    Public Function GetImageIndexByLocation( _
    ByVal point
    The point in image viewer space.
    As System.Windows.Point _
    ) As System.Int32
    public System.Int32 GetImageIndexByLocation(
    System.Windows.Point point
    )
    public: System.Int32 GetImageIndexByLocation(
    System.Windows.Point point
    )
    public:
    System.Int32 GetImageIndexByLocation(
    System.Windows.Point point
    )

    Parameters

    point
    The point in image viewer space.

    Return Value

    Image index if point is located on image; otherwise, -1.
    Requirements

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

    See Also