VintaSoft Imaging .NET SDK v8.5
createObjectFromPolygon Method
Vintasoft.Imaging.Svg.VisualTools Namespace > WebHighlightObjectJS type : createObjectFromPolygon Method
Polygon, as point array, that defines image region which should be highlighted in the image viewer.
Creates a highlight object based on polygon.
Syntax
var value; // Type: object

// Parameters
var polygon; // Type:  object

value = Vintasoft.Imaging.Svg.VisualTools.WebHighlightObjectJS.createObjectFromPolygon(polygon);
function createObjectFromPolygon( 
   polygon : object
) : object;

Parameters

polygon
Polygon, as point array, 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