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

# ImportImages Method of the Project Object

This method allows you to import images to the project. Images are grouped into documents and batches in accordance with the settings specified in the *ImportParams* parameter. This parameter also defines the folder images are imported from.

## Syntax

```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
);
```

## Parameters

**ImportParams**

\[in] This parameter refers to the [**ImageImportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageimportparams.md) object that contains the parameters of image preprocessing and grouping into documents. This parameter also defines the folder images are imported from. You can specify a set of input folders via the [**IProjectProperties::HotFolderProfiles**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/projectproperties.md#hotfolderprofiles) property of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object, select one of the [**HotFolderProfile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/hotfolderprofile.md) objects of the collection, and pass the **ImageImportParams** subobject of the selected **HotFolderProfile** object as *ImportParams* parameter. In this case input folder of the selected profile will be used for import.

**StartBatch**

\[in] This parameter refers to the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object that contains the batch that starts the group of batches to which the images should be imported.

**StartDoc**

\[in] This parameter refers to the [**Document**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/document.md) object that contains the document that starts the group of batch documents to which the images should be imported.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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