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

# サンプル 1. Step 2: バッチへの画像の追加

> FlexiLayout Studio のサンプル 1 でテスト画像をバッチに追加し、リファレンスアセンブリ用に **One document per file** を設定して、**Batch** ウィンドウでページを表示します。

<Note>
  バッチは、FlexiLayout のデバッグに使用するテスト画像 (ページ) のセットです。
</Note>

新しいプロジェクトを作成したら、テスト画像をバッチに追加します。これらの画像は FlexiLayout のデバッグに使用されます。

バッチにテスト画像を追加するには、次の手順に従います。

<Steps>
  <Step title="Batch タブを開く">
    メインプログラムウィンドウで **Batch** タブをクリックします。
  </Step>

  <Step title="テスト画像を追加する">
    **File** メニューまたはショートカットメニューで **Open & Add Images...** コマンドを選択します。

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial2.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=82920200677288105d599c3264765999" alt="ABBYY FlexiLayout Studio の Batch タブのスクリーンショット。File メニューが開かれ、テスト画像をバッチに追加するための Open & Add Images コマンドが選択されています。" width="605" height="587" data-path="images/flexi-capture/fls/tutorial2.png" />
    </Frame>
  </Step>

  <Step title="参照ドキュメントアセンブリのオプションを設定する">
    **Open Images** ダイアログで **Image Preprocessing Settings...** をクリックし、表示されたダイアログで **One document per file** オプションを選択します。
  </Step>

  <Step title="テスト画像ファイルを指定する">
    Sample 1 の画像は `%public%\ABBYY\FlexiCapture\12.0\Samples\FLS\English\Halloween Form\Halloween FormBatch\Halloween FormBatch\<page number>\Image\bwPage.frdat` にあります。
  </Step>
</Steps>

バッチに追加したテスト画像は **Batch** ウィンドウに表示されます。

<Frame>
  <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial2a.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=007d2540d96a22737fca30b492c48673" alt="ABBYY FlexiLayout Studio の Batch ウィンドウのスクリーンショット。バッチに追加されたテスト画像の一覧が表示されています。" width="605" height="587" data-path="images/flexi-capture/fls/tutorial2a.png" />
</Frame>

<Note>
  画像の追加時には、リファレンスアセンブリの実行方法を指定できます。**One document per file** を選択すると、それぞれの画像が別個のドキュメントとして扱われます。
</Note>

詳細については、[参照ドキュメントアセンブリ](/ja/flexi-capture/fls/settings/etalon-assembling) を参照してください。
