> ## 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-Methode des ImageDocument-Objekts

Diese Methode speichert die Inhalte des [**ImageDocument**](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/imagedocument.md)-Objekts in einem Ordner auf der Festplatte. Das Bild wird im [internen Format](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/imagedocument.md#internal-format) des ABBYY FlexiCapture SDK gespeichert. Ein mit dieser Methode gespeichertes **ImageDocument**-Objekt lässt sich ausschließlich mit der Methode [**IEngine::LoadImageDocument**](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/engine-loadimagedocument.md) öffnen.

## Syntax

```vb Visual Basic .NET theme={null}
Sub SaveTo(folderName As String)
```

```cpp C++ theme={null}
HRESULT SaveTo(
   BSTR folderName
);
```

## Parameter

**folderName**

\[in] Dieser Parameter enthält den vollständigen Pfad zum Ordner, z. B. „C:\MyPic“.

## Rückgabewerte

Diese Methode hat keine spezifischen Rückgabewerte. Sie gibt die [Standardrückgabewerte der Funktionen des ABBYY FlexiCapture SDK](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/errorcodes.md) zurück.

## Siehe auch

[**ImageDocument**](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/imagedocument.md)

[**IEngine::LoadImageDocument**](https://docs.abbyy.com/de/flexi-capture/sdk/api-reference/engine-loadimagedocument.md)
