VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / GetImageIndexByLocation Method
The point in image viewer space.



In This Topic
    GetImageIndexByLocation Method (WpfImageViewer)
    In This Topic
    Returns the image index by location.
    Syntax
    'Declaration
     
    Public Function GetImageIndexByLocation( _
       ByVal point As Point _
    ) As Integer
    public int GetImageIndexByLocation( 
       Point point
    )
    public: int GetImageIndexByLocation( 
       Point point
    ) 
    public:
    int GetImageIndexByLocation( 
       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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also