VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationPenJS type / copyTo Method
The target pen.
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.Html5.WebAnnotationPenJS(width,
                                                                            color,
                                                                            lineJoin,
                                                                            miterLimit,
                                                                            dashStyle,
                                                                            dashPattern,
                                                                            startCap,
                                                                            endCap);
    var value; // Type: any
    
    // Parameters
    var target; // Type:  object
    
    value = instance.copyTo(target);
    function copyTo( 
       target : object
    ) : any;

    Parameters

    target
    The target pen.
    Browser Compatibility
    9
    5
    15
    5
    See Also