VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / set Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set Method
    In This Topic
    Sets information about the specified image.
    Syntax
    var instance = new Vintasoft.Shared.WebImageCollectionJS();
    
    var value; // Type: any
    
    // Parameters
    var index; // Type: number
    var image; // Type: WebImageJS
    
    value = instance.set(index, image);
    
    
    function set(
    index
    The zero-based index of image, which should be changed.
    : number,
    image
    New WebImageJS at the specified index.
    : WebImageJS
    ) : any;

    Parameters

    index
    The zero-based index of image, which should be changed.
    image
    New WebImageJS at the specified index.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if index is less than zero or index is equal to or greater than collection length.
    Thrown if image already exists in collection.
    Browser Compatibility
    9
    See Also