VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / add Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    add Method
    In This Topic
    Adds an image to the end of the collection.
    Syntax
    var instance = new Vintasoft.Shared.WebImageCollectionJS();
    
    var value; // Type: any
    
    // Parameters
    var image; // Type: WebImageJS
    
    value = instance.add(image);
    
    
    function add(
    image
    WebImageJS to add.
    : WebImageJS
    ) : any;

    Parameters

    image
    WebImageJS to add.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if image already exists in collection.
    Browser Compatibility
    9
    See Also