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

# Save Method of the Document Object

This method saves changes made to the document, which belongs to some project. The method does not change the state of the document (the [**IDocument::LockType**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/document.md) property).

Note that before saving, the changed fields must be verified using the [**CheckRules**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/document-checkrules.md) method.

## Syntax

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

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

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

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

[Using a Document Object within a Project](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/document-using.md)
