VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
Vintasoft.Twain Namespace / WebAcquiredImageCollectionJS type / removeAt Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
removeAt 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 index; // Type: number

value = instance.removeAt(index);

Parameters

index
A zero-based index of image in image 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 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.removeAtAsync function.

Browser Compatibility
9
See Also