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

# SaveTo Method of the ImageDocument Object

This method saves the contents of the [ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument) object into a folder on disk. The image is saved in ABBYY FineReader Engine internal format.

## Syntax

### C++

```cpp theme={null}
HRESULT SaveTo( BSTR FolderName );
```

### C\#

```csharp theme={null}
void SaveTo( string FolderName );
```

### Visual Basic .NET

```vb theme={null}
Sub SaveTo(FolderName As String)
```

## Parameters

**FolderName**

\[in] This parameter stores the full path to the folder. For example, /Users/user/Documents/MyPic (macOS), /home/user/Pictures/MyPic (Linux), C:\MyPic (Win).

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

## See also

[ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument)
