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

# AddImageDocument Method of the FRDocument Object

This method adds one open image, represented by the [ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument) object, to a document.

## Syntax

### C++

```cpp theme={null}
HRESULT AddImageDocument( IImageDocument* ImageDocument );
```

### C\#

```csharp theme={null}
void AddImageDocument( IImageDocument ImageDocument );
```

### Visual Basic .NET

```vb theme={null}
Sub AddImageDocument(ImageDocument As IImageDocument)
```

## Parameters

ImageDocument

\[in] This variable refers to the [ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument) object corresponding to the image that is to be added.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## Remarks

This method does not report any events to the listeners attached to the IConnectionPointContainer interface of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object.

## See also

[FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument)

[Working with Images](/fine-reader/engine/guided-tour/advanced-techniques/working-with-images)
