## ReceiptRecognitionSettings class

Settings for the receipt recognition. Contains elements that allow customizing the recognition process.

```csharp
public class ReceiptRecognitionSettings : BaseRecognitionSettings
```

## Constructors

| Name | Description |
| --- | --- |
| [ReceiptRecognitionSettings](receiptrecognitionsettings#constructor)() | Initializes a new instance of the [`ReceiptRecognitionSettings`](../receiptrecognitionsettings) class with default set of properties. |
| [ReceiptRecognitionSettings](receiptrecognitionsettings#constructor_1)(Language) | Initializes a new instance of the [`ReceiptRecognitionSettings`](../receiptrecognitionsettings) class with full set of properties. |

## Properties

| Name | Description |
| --- | --- |
| [AllowedCharacters](../../aspose.ocr/baserecognitionsettings/allowedcharacters) { get; set; } | Allowed characters set. Determines the type of characters allowed for recognition result. |
| [AllowedSymbols](../../aspose.ocr/baserecognitionsettings/allowedsymbols) { get; set; } | Set the allowed characters with alphabet property. |
| [AutomaticColorInversion](../../aspose.ocr/baserecognitionsettings/automaticcolorinversion) { get; set; } | Detect images with white text on dark/black background and automatically choose a special OCR algorithm for them. |
| [IgnoredSymbols](../../aspose.ocr/baserecognitionsettings/ignoredsymbols) { get; set; } | Sets blacklist for recognition symbols. |
| [Language](../../aspose.ocr/baserecognitionsettings/language) { get; set; } | Gets or sets the language used for OCR.  Determines the alphabet used during recognition. Multi-language by default. |
| [RecognizeVerticalLines](../../aspose.ocr/baserecognitionsettings/recognizeverticallines) { get; set; } | Gets or sets a value indicating whether vertical text lines should be detected and recognized in addition to horizontal ones. Default is `false`. |
| [RetainImageForExport](../../aspose.ocr/baserecognitionsettings/retainimageforexport) { get; set; } | Gets or sets a value indicating whether the preprocessed source image is retained in the recognition result. The image is stored in a compressed form and decoded only when [`Image`](../recognitionresult/image) is accessed. |
| [ThreadsCount](../../aspose.ocr/baserecognitionsettings/threadscount) { get; set; } | Gets or sets the number fo threads for processing. By default, 0 means that the image will be processed with the number of threads equal to your number of processors. ThreadsCount = 1 means that the image will be processed in the main thread. |

### See Also

* class [BaseRecognitionSettings](../baserecognitionsettings)
* namespace [Aspose.OCR](../../aspose.ocr)
* assembly [Aspose.OCR](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
