VintaSoft Imaging .NET SDK 14.0: 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);
    
    
    function getImageIndexByLocation(
    location
    The 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.
    Browser Compatibility
    56+
    45+
    11
    See Also