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

# RecognitionParams Object (IRecognitionParams Interface)

This object allows you to tune the recognition parameters for the block. Parameters of recognition are specified with each block of the document definition and depend on the block type. The **RecognitionParams** object exposes methods which cast it to a type-specific interface and thereby provide access to the recognition parameters of a block of specific type. The recognition parameters of the block are set in the [**RecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinition.md#recognitionparams) property of the [**BlockDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinition.md) object.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **IsIdentifier** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies if the block is used as an identifier. Identifier is a static element used for certain selection of a Document Definition from among several Document Definitions with identical locations of anchors. If an anchor barcode or static text is used as an identifier, you can specify the values of such identifiers with the help of the [**IBarcodeRecognitionParams::Value**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcoderecognitionparams.md) or [**IStaticTextRecognitionParams::Value**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/statictextrecognitionparams.md#value) properties, respectively. In this case when applying a Document Definition the program will compare recognized data in the image with the value of the identifier, and the Document Definition match will be possible only if these values match. |
| **IsReference** | [**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Specifies if the block is used for finding some other block (e.g. static text block which contains the word "Surname" can be used to find a text block which contains a surname). |
| **Type** | [**BlockTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blocktypeenum.md), read-only | Returns the type of the block. |

## Methods

| **Name** | **Description** |
| - | - |
| [**AsAnchorParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-asanchorparams.md) | Returns the object as the [**AnchorRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/anchorrecognitionparams.md) object. If the block is not an anchor block, NULL is returned. |
| [**AsBarcodeParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-asbarcodeparams.md) | Returns the object as the [**BarcodeRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcoderecognitionparams.md) object. If the block is not a barcode block, NULL is returned. |
| [**AsCheckmarkGroupParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-ascheckmarkgroupparams.md) | Returns the object as the [**CheckmarkGroupRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/checkmarkgrouprecognitionparams.md) object. If the block is not a checkmark group block, NULL is returned. |
| [**AsCheckmarkParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-ascheckmarkparams.md) | Returns the object as the [**CheckmarkRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/checkmarkrecognitionparams.md) object. If the block is not a checkmark block, NULL is returned. |
| [**AsPictureParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-aspictureparams.md) | Returns the object as the [**PictureRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/picturerecognitionparams.md) object. If the block is not a picture block, NULL is returned. |
| [**AsSeparatorParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-asseparatorparams.md) | Returns the object as the [**SeparatorRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/separatorrecognitionparams.md) object. If the block is not a separator block, NULL is returned. |
| [**AsStaticTextParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-asstatictextparams.md) | Returns the object as the [**StaticTextRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/statictextrecognitionparams.md) object. If the block is not a static text block, NULL is returned. |
| [**AsTextParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams-astextparams.md) | Returns the object as the [**TextRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/textrecognitionparams.md) object. If the block is not a text block, NULL is returned. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/RecognitionParams.gif?s=6a0b13dcb84bfb9dc0565266e9560c92)

## See also

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

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

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
