In This Topic
Returns an image, which location is closest to the point, with coordinates in the image viewer space.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
var value; // Type: Vintasoft.Shared.WebImageJS
// Parameters
var point; // Type: object
value = instance.getNearestImage(point);
Parameters
- point
- The point with coordinates in the coordinate space of client area of image viewer.
Return Value
The Vintasoft.Shared.WebImageJS object if image is found; otherwise, null.
Browser Compatibility
See Also