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

# Project オブジェクトの ImportImages メソッド

このメソッドを使用すると、プロジェクトに画像をインポートできます。画像は、*ImportParams* パラメーターで指定された設定に従って、ドキュメントおよびバッチにグループ化されます。画像のインポート元フォルダーも、このパラメーターで指定します。

## 構文

```vb Visual Basic .NET theme={null}
Sub ImportImages( _
  ImportParams As ImageImportParams, _
  StartBatch As Batch, _
  StartDoc As Document _
)
```

```cpp C++ theme={null}
HRESULT ImportImages(
  IImageImportParams* ImportParams,
  IBatch*             StartBatch
  IDocument*          StartDoc
);
```

## パラメーター

**ImportParams**

\[in] このパラメーターは、画像の前処理およびドキュメントへのグループ化に関するパラメーターを含む [**ImageImportParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageimportparams.md) オブジェクトを参照します。また、このパラメーターは画像のインポート元フォルダーも定義します。[**Project**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md) オブジェクトの [**IProjectProperties::HotFolderProfiles**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/projectproperties.md#hotfolderprofiles) プロパティで入力フォルダーのセットを指定し、そのコレクションから [**HotFolderProfile**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/hotfolderprofile.md) オブジェクトを 1 つ選択して、選択した **HotFolderProfile** オブジェクトの **ImageImportParams** サブオブジェクトを *ImportParams* パラメーターとして渡すことができます。この場合、選択したプロファイルの入力フォルダーがインポートに使用されます。

**StartBatch**

\[in] このパラメーターは、画像のインポート先となるバッチグループの先頭バッチを含む [**Batch**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batch.md) オブジェクトを参照します。

**StartDoc**

\[in] このパラメーターは、画像のインポート先となるバッチ内ドキュメントグループの先頭ドキュメントを含む [**Document**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md) オブジェクトを参照します。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

[**Project**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/project.md)
