VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebPointCollectionJS type / remove Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    remove Method
    In This Topic
    Removes point from collection.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebPointCollectionJS(points, maxLength);
    
    var value; // Type: any
    
    // Parameters
    var index; // Type: number
    
    value = instance.remove(index);
    
    
    function remove(
    index
    The zero-based index of point in the collection.
    : number
    ) : any;

    Parameters

    index
    The zero-based index of point in the collection.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if index is less than zero or index is equal to or greater than points collection length.
    Thrown if collection has fixed length.
    Browser Compatibility
    56+
    45+
    11
    See Also