VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / getNearestImage Property
Syntax BrowserCompatibility SeeAlso
In This Topic
getNearestImage Method
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
56+
45+
11
See Also