GetImageIndexByLocation Method (ImageViewer)
Returns the image index by location.
'Declaration
Public Function GetImageIndexByLocation( _
ByVal As Point _
) As Integer
public int GetImageIndexByLocation(
Point
)
public: int GetImageIndexByLocation(
Point
)
public:
int GetImageIndexByLocation(
Point
)
Parameters
- point
- The point in image viewer space.
Return Value
Image index if point is located on image; otherwise, -1.
Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003