VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Twain Namespace / WebAcquiredImageCollectionJS type / saveImages Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    saveImages Method
    In This Topic
    Saves images from this image collection to a local file.
    Syntax
    var instance = new Vintasoft.Twain.WebAcquiredImageCollectionJS(twainDeviceManager);
    
    var value; // Type: any
    
    // Parameters
    var filePath; // Type: string
    var createNewFile; // Type: boolean
    var imageIds; // Type: string[]
    
    value = instance.saveImages(filePath, createNewFile, imageIds);
    
    
    function saveImages(
    filePath
    A path to a local file.
    : string,
    createNewFile
    A value indicating whether new file must be created.
    : boolean,
    imageIds
    An array of strings, which define identifiers of images, which must be saved.
    : string[]
    ) : any;

    Parameters

    filePath
    A path to a local file.
    createNewFile
    A value indicating whether new file must be created.
    imageIds
    An array of strings, which define identifiers of images, which must be saved.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong type OR imageIds is not an array of strings OR images are not saved.
    Remarks

    This function sends a synchronous request to save images from this image collection to a local file. If you want to use asynchronous request instead of synchronous request, please use WebAcquiredImageCollectionJS.saveImagesAsync function.

    Browser Compatibility
    9
    See Also