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(
: string,
: boolean,
: 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
Exception | Description |
| 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
See Also