VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / getImageIndexByLocation Property
Syntax BrowserCompatibility SeeAlso
In This Topic
getImageIndexByLocation Method
In This Topic
Returns the image index by location.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var value; // Type: number

// Parameters
var location; // Type: object

value = instance.getImageIndexByLocation(location);

Parameters

location
The point in the coordinate space of client area of image viewer.

Return Value

Image index if point is located on image; otherwise, -1.
Browser Compatibility
56+
45+
11
See Also