> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddNewImage

> ABBYY FlexiCapture Web Services API の AddNewImage メソッドを使用して画像または複数ページのファイルをバッチに追加し、その後バッチを処理してページにアクセスします。

<div id="what-it-does">
  ## 機能
</div>

複数ページの画像を含む画像をバッチに追加します (新しいドキュメントが 1 つ作成され、その後、前処理ステージで 1 ページごとのドキュメントに分割されます) 。

<Warning>
  追加した画像は、前処理が完了した後でのみ利用可能になります。画像の追加後にバッチ処理を開始するには、[ProcessBatch](/ja/flexi-capture/api/methods/process-batch) メソッドを使用してください。 また、[OpenTask](/ja/flexi-capture/api/methods/open-task) メソッドで開いたタスクのドキュメントに画像を追加した場合は、[CloseTask](/ja/flexi-capture/api/methods/close-task) メソッドを使用してタスクを閉じ、**Import** ステージに送信してください。
</Warning>

<div id="definition">
  ## 定義
</div>

```
void AddNewImage( int sessionId, int batchId, File file );
```

<div id="parameters">
  ## パラメーター
</div>

| **名前**    | **型**                                         | **説明**                     |
| --------- | --------------------------------------------- | -------------------------- |
| sessionId | int                                           | Application Server への接続 ID |
| batchId   | int                                           | 画像を追加する対象のバッチの ID          |
| file      | [File](/ja/flexi-capture/api/structures/file) | 画像が含まれているファイル              |

<div id="returned-value">
  ## 戻り値
</div>

なし。
