VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebHighlightObjectJS type / createObjectFromPolygon Property
Syntax BrowserCompatibility SeeAlso
In This Topic
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
56+
45+
11
See Also