VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebResizeCanvasCommandJS type / set_CanvasColor Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_CanvasColor Method
    In This Topic
    Sets the canvas color.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebResizeCanvasCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: string
    
    returnValue = instance.set_CanvasColor(value);
    
    
    function set_CanvasColor(
    value
    Canvas color. Default value is "rgba(0,0,0,1)".
    : string
    ) : any;

    Parameters

    value
    Canvas color. Default value is "rgba(0,0,0,1)".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also