VintaSoft Imaging .NET SDK v8.5
findItem Method
Vintasoft.Imaging.Svg.VisualTools Namespace > WebHighlightToolJS type : findItem Method
X coordinate in the coordinate space of HTML document.
Y coordinate in the coordinate space of HTML document.
Finds the highlighted image region located at the specified coordinates.
Syntax
var instance = new Vintasoft.Imaging.Svg.VisualTools.WebHighlightToolJS(viewer);
var value; // Type: object

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

value = instance.findItem(x, y);
function findItem( 
   x : number,
   y : number
) : object;

Parameters

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

Return Value

Instance of the WebHighlightObjectJS class if highlighted image region is found; otherwise, 'undefined'.
Browser Compatibility
9
5
11
5
See Also

Reference

WebHighlightToolJS type