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

# SaveModified Method of the ImageDocument Object

This method saves all the modifications that were performed upon the current [**ImageDocument**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md) object into the folder on disk. It does not overwrite the source image file. It sets the value of the [**IImageDocument::IsModified**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md#ismodified) property to FALSE.

## Syntax

```vb Visual Basic .NET theme={null}
Sub SaveModified()
```

```cpp C++ theme={null}
HRESULT SaveModified();
```

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

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