VintaSoft Imaging .NET SDK 15.1: 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);

Parameters

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