VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationBrushJS type / set_Color Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Color Method
    In This Topic
    Sets the color of the annotation brush.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationBrushJS(type, color);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: string
    
    returnValue = instance.set_Color(value);
    
    
    function set_Color(
    value
    Brush color, for example, "Red" or "rgba(125,125,125,0.8)".
    : string
    ) : any;

    Parameters

    value
    Brush color, for example, "Red" or "rgba(125,125,125,0.8)".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also