VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / moveRange Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    moveRange Method
    In This Topic
    Removes images at specified indexes and inserts them at specified index.
    Syntax
    var instance = new Vintasoft.Shared.WebImageCollectionJS();
    
    var value; // Type: number
    
    // Parameters
    var insertIndex; // Type: number
    var indexes; // Type: number[]
    
    value = instance.moveRange(insertIndex, indexes);
    
    
    function moveRange(
    insertIndex
    The zero-based index at which the images should be inserted.
    : number,
    indexes
    An array that contains indexes of images that must be moved.
    : number[]
    ) : number;

    Parameters

    insertIndex
    The zero-based index at which the images should be inserted.
    indexes
    An array that contains indexes of images that must be moved.

    Return Value

    The zero-based index at which the images has been inserted.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also