VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationPenJS type / set_DashStyle Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_DashStyle Method
In This Topic
Sets the style for dashed lines.
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: WebOutlineDashStyleEnumJS

returnValue = instance.set_DashStyle(value);

Parameters

value
An instance of WebOutlineDashStyleEnumJS class that defines the style used for dashed lines drawn with the pen.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also