VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Twain Namespace / WebAcquiredImageCollectionJS type / remove Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    remove Method
    In This Topic
    Removes image from image collection.
    Syntax
    var instance = new Vintasoft.Twain.WebAcquiredImageCollectionJS(twainDeviceManager);
    
    var value; // Type: Vintasoft.Twain.WebAcquiredImageJS
    
    // Parameters
    var image; // Type: WebAcquiredImageJS
    
    value = instance.remove(image);
    
    
    function remove(
    image
    An instance of WebAcquiredImageJS class, which should be removed from this collection.
    : WebAcquiredImageJS
    ) : WebAcquiredImageJS;

    Parameters

    image
    An instance of WebAcquiredImageJS class, which should be removed from this collection.

    Return Value

    An instance of WebAcquiredImageJS class that was removed from image collection.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type OR image is not found in image collection OR image is not removed from image collection.
    Remarks

    This function sends a synchronous request to remove image from image collection. If you want to use asynchronous request instead of synchronous request, please use WebAcquiredImageCollectionJS.removeAsync function.

    Browser Compatibility
    9
    See Also