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

    Parameters

    positions
    An array of zero-based indices of points in the collection.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if one of indexes is less than zero or one of indexes is equal to or greater than points collection length.
    Thrown if collection has fixed length.
    Browser Compatibility
    56+
    45+
    11
    See Also