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
| Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also