createObjectFromPolygon Method
In This Topic
Creates a highlight object based on polygon.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS(polygon);
var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS
// Parameters
var polygon; // Type: object[]
value = instance.createObjectFromPolygon(polygon);
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
See Also