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

# LearnCheckmarks Method of the FRPage Object

> LearnCheckmarks method of the FRPage Object in the ABBYY FineReader Engine API — Trains FineReader Engine to recognize checkmarks of a custom type; fills CheckmarkBlock.TrainingData for each checkmark block on the page.

This method trains FineReader Engine to recognize checkmarks of a custom type. As the result of training, the method fills in the training data ([ICheckmarkBlock::TrainingData](https://docs.abbyy.com/fine-reader/engine/api-reference/layout-related-objects/checkmarkblock.md#trainingdata)) for each checkmark block on the page. See details on how to use this method in [Recognizing Checkmarks](https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/recognizing-checkmarks.md#custom).

## Syntax

### C++

```cpp theme={null}
HRESULT LearnCheckmarks( IObjectsExtractionParams* ExtractionParams );
```

### C\#

```csharp theme={null}
void LearnCheckmarks( IObjectsExtractionParams ExtractionParams );
```

### Visual Basic .NET

```vb theme={null}
Sub LearnCheckmarks( ExtractionParams As IObjectsExtractionParams )
```

## Parameters

ExtractionParams

\[in] The [ObjectsExtractionParams](https://docs.abbyy.com/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/objectsextractionparams.md) object that stores parameters of objects extraction. This parameter may be 0. In this case, the objects are extracted with default parameters, or, if a [profile](https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles.md) has been loaded, the parameters set by this profile are used.

## Return values

This method has no specific return values. It returns [standard return codes of ABBYY FineReader Engine functions](https://docs.abbyy.com/fine-reader/engine/api-reference/return-codes.md).

## See also

[FRPage](https://docs.abbyy.com/fine-reader/engine/api-reference/document-related-objects/frpage.md)

[Recognizing Checkmarks](https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/recognizing-checkmarks.md)

[Working with Profiles](https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles.md)

[Tuning Analysis, Recognition, and Synthesis Parameters](https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/tuning-parameters-of-preprocessing-analysis-recognition-and-synthesis.md)
