VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationPenJS type / set_Width Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Width Method
    In This Topic
    Sets the width of the pen.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationPenJS(width, color, lineJoin, miterLimit, dashStyle, dashPattern, startCap, endCap);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_Width(value);
    
    
    function set_Width(
    value
    Pen width.
    : number
    ) : any;

    Parameters

    value
    Pen width.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also