VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Html5.VisualTools Namespace / WebHighlightObjectJS type / createObjectFromRectangle Method
Rectangle that defines image region which should be highlighted in the image viewer.
In This Topic
    createObjectFromRectangle Method
    In This Topic
    Creates a highlight object based on rectangle.
    Syntax
    var value; // Type: object
    
    // Parameters
    var rect; // Type:  object
    
    value = Vintasoft.Imaging.Html5.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
    15
    5
    See Also