VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebImageAppearanceJS type / set_BorderWidth Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_BorderWidth Method
    In This Topic
    Sets the border width of the image.
    Syntax
    var instance = new Vintasoft.Imaging.WebImageAppearanceJS(backColor, borderColor, borderWidth);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_BorderWidth(value);
    
    
    function set_BorderWidth(
    value
    Border width of the image. Valid value is 0 and any positive value. Default value is 0.
    : number
    ) : any;

    Parameters

    value
    Border width of the image. Valid value is 0 and any positive value. Default value is 0.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if width is negative.
    Browser Compatibility
    56+
    45+
    11
    See Also