VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebPointCollectionJS type / copyTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    copyTo Method
    In This Topic
    Copies the state of the point collection to the target point collection if their max length are equal.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
    
    var value; // Type: any
    
    // Parameters
    var target; // Type: WebPointCollectionJS
    
    value = instance.copyTo(target);
    
    
    function copyTo(
    target
    The point collection.
    : WebPointCollectionJS
    ) : any;

    Parameters

    target
    The point collection.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if collections have different maximum lengths.
    Browser Compatibility
    56+
    45+
    11
    See Also