VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Html5.VisualTools Namespace / WebHighlightObjectJS type / createObjectFromPolygon Method
Polygon, as point array, that defines image region which should be highlighted in the image viewer.
In This Topic
    createObjectFromPolygon Method
    In This Topic
    Creates a highlight object based on polygon.
    Syntax
    var value; // Type: object
    
    // Parameters
    var polygon; // Type:  object
    
    value = Vintasoft.Imaging.Html5.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