#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrZone_Default(ocrZone)
L_OcrZone* ocrZone; | address to L_OcrZone structure to be updated with default value |
Initializes an L_OcrZone structure with all values set to default.
Parameter | Description |
---|---|
ocrZone | Address to L_OcrZone structure to be updated with default value. |
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
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Functions: | L_OcrCell_Default |
Topics: | Programming with LEADTOOLS OCR Advantage |
Starting and Shutting Down the OCR Engine | |
Recognizing OCR Pages | |
Working With OCR Pages |
For an example, refer to L_OcrZoneManager_GetOMROptions.