#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrZone_Default(ocrZone)
Initializes an L_OcrZone structure with all values set to default.
Address to L_OcrZone structure to be updated with default value.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This method initializes the values of L_OcrZone as following:
Member | Value |
---|---|
StructSize | sizeof(L_OcrZone) |
Id | 0 |
Name | Empty string array |
Bounds | Empty L_RECT |
ZoneType | L_OcrZoneType_Text |
CharacterFilters | L_OcrZoneCharacterFilters_None |
Language | L_OcrLanguage_None |
IsEngineZone | L_FALSE |
ForeColor | RGB(0, 0, 0) |
BackColor | RGB(255, 255, 255) |
ViewPerspective | TOP_LEFT |
TextDirection | L_OcrTextDirection_LeftToRight |
TextStyle | L_OcrTextStyle_Normal |
FontRatio | 0 |
Required DLLs and Libraries
For an example, refer to L_OcrZoneManager_GetOMROptions