Skip to main content

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).
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

NameTypeDescription
sessionIdintThe ID of the connection to the Application Server
batchIdintThe ID of the batch to which an image is to be added
fileFileThe file that contains an image

Returned value

None.