VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebHighlightToolJS type / findItem Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
findItem Method
In This Topic
Finds the highlighted image region located at the specified coordinates.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebHighlightToolJS();

var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS

// Parameters
var x; // Type: number
var y; // Type: number

value = instance.findItem(x, y);

Parameters

x
X coordinate in the coordinate space of HTML document.
y
Y coordinate in the coordinate space of HTML document.

Return Value

An instance of the WebHighlightObjectJS class if highlighted image region is found; otherwise, "null".
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Browser Compatibility
56+
45+
11
See Also