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

# EnableRecognitionVariants Method of the Engine Object

This method enables or disables collecting information about recognition variants during recognition.

> [!NOTE]
>
> The API working with recognition variants is not available for recognizing handprinted texts.

## Syntax

```vb Visual Basic .NET theme={null}
Sub EnableRecognitionVariants(Value As Boolean)
```

```cpp C++ theme={null}
HRESULT EnableRecognitionVariants(
  VARIANT_BOOL Value
);
```

## Parameters

**Value**

\[in] This variable of the **Boolean** type specifies whether collecting information about recognition variants is enabled. If you pass TRUE in this parameter, this will instruct FlexiCapture SDK to save recognition variants in the recognition results. If you pass FALSE, the only one recognition variant will be available.

> [!WARNING]
>
> Setting the value to TRUE requires the [Verification](https://docs.abbyy.com/flexi-capture/sdk/licensing/addmodule.md#verification) module to be available in your license.

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

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