VintaSoft Imaging .NET SDK 12.5: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationPenJS type / clone Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    clone Method
    In This Topic
    Creates a new annotation pen that is a copy of the current annotation pen.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationPenJS(width, color, lineJoin, miterLimit, dashStyle, dashPattern, startCap, endCap);
    
    var value; // Type: Vintasoft.Imaging.Annotation.UI.WebAnnotationPenJS
    value = instance.clone();
    
    
    function clone() : WebAnnotationPenJS;
    

    Return Value

    Copy of current annotation pen.
    Browser Compatibility
    56+
    45+
    11
    See Also