VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationPenJS type / copyTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
copyTo Method
In This Topic
Copies the state of the current annotation pen to the target annotation pen.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationPenJS(width, color, lineJoin, miterLimit, dashStyle, dashPattern, startCap, endCap);

var value; // Type: any

// Parameters
var target; // Type: WebAnnotationPenJS

value = instance.copyTo(target);

Parameters

target
The target pen.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also