VintaSoft Imaging .NET SDK 12.5: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationBrushJS type / copyTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    copyTo Method
    In This Topic
    Copies the state of the current annotation brush to the target annotation brush.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationBrushJS(type, color);
    
    var value; // Type: any
    
    // Parameters
    var target; // Type: WebAnnotationBrushJS
    
    value = instance.copyTo(target);
    
    
    function copyTo(
    target
    The target brush.
    : WebAnnotationBrushJS
    ) : any;

    Parameters

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