AddNewImage
What it does
Adds an image to a batch, including a multi-page image (one new document is created, which is then split into one-page documents at the pre-processing stage).
Important! The added images will become accessible only after they are pre-processed. Use the ProcessBatch method to initiate batch processing after you have added the images or use the CloseTask method to close the task and to send it in the Import stage if the images were added into the documents of a task that was opened with the OpenTask method.
Definition
void AddNewImage( int sessionId, int batchId, File file );
Parameters
Name | Type | Description |
sessionId | int | The ID of the connection to the Application Server |
batchId | int | The ID of the batch to which an image is to be added |
file | File | The file that contains an image |
Returned value
None.
12.04.2024 18:16:02