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

# LockTypeEnum

**LockTypeEnum** enumeration constants are used to denote the state of the document.

```cpp theme={null}
typedef enum {
 LT_None,
 LT_Read,
 LT_ReadWrite
} LockTypeEnum;
```

## Elements

| **Name** | **Description** |
| - | - |
| LT\_None | The document is closed. Not all the properties and methods of such document are available. |
| LT\_Read | The document is open for reading. You can view the structure and parameters of the document, but cannot edit them. |
| LT\_ReadWrite | The document is open for reading and writing. You can edit its structure, parameters, etc. |

## Used in

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

## See also

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