VintaSoft Imaging .NET SDK v8.5
createObjectFromRectangle Method
Vintasoft.Imaging.Svg.VisualTools Namespace > WebHighlightObjectJS type : createObjectFromRectangle Method
Rectangle that defines image region which should be highlighted in the image viewer.
Creates a highlight object based on rectangle.
Syntax
var value; // Type: object

// Parameters
var rect; // Type:  object

value = Vintasoft.Imaging.Svg.VisualTools.WebHighlightObjectJS.createObjectFromRectangle(rect);
function createObjectFromRectangle( 
   rect : object
) : object;

Parameters

rect
Rectangle that defines image region which should be highlighted in the image viewer.

Return Value

Object (instance of the WebHighlightObjectJS class) that defines image region which should be highlighted in the image viewer.
Browser Compatibility
9
5
11
5
See Also

Reference

WebHighlightObjectJS type