var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId); var value; // Type: number // Parameters var location; // Type: object value = instance.getImageIndexByLocation(location);
function getImageIndexByLocation(
locationThe point in the coordinate space of client area of image viewer.: object
) : number;
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.