VintaSoft Imaging .NET SDK 14.0: 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);
    
    
    function getNearestImage(
    point
    The point with coordinates in the coordinate space of client area of image viewer.
    : object
    ) : WebImageJS;

    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