VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / insertRange Methods / insertRange(number,Vintasoft.Shared.WebImageCollectionJS) Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
insertRange(number,Vintasoft.Shared.WebImageCollectionJS) Method
In This Topic
Inserts images into collection at the specified index.
Syntax
var instance = new Vintasoft.Shared.WebImageCollectionJS();

var value; // Type: any

// Parameters
var index; // Type: number
var images; // Type: WebImageCollectionJS

value = instance.insertRange(index, images);

Parameters

index
The zero-based index at which image should be inserted.
images
An image collection, which is represented by WebImageCollectionJS object.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if index is less than zero or index is greater than collection length.
Thrown if image already exists in collection.
Browser Compatibility
9
See Also