#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrCell_Default(ocrCell)
| L_OcrZoneCell* ocrCell; | address to L_OcrZoneCell structure to be updated with default values |
Initializes an L_OcrZoneCell structure with all values set to default.
| Parameter | Description |
|---|---|
| ocrCell | Address to L_OcrZoneCell structure to be updated with default values. |
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
This method initializes the values of L_OcrZoneCell as following:
| Member | Value |
|---|---|
| StructSize | sizeof(L_OcrZoneCell) |
| Bounds | Empty L_RECT |
| CellType | L_OcrZoneType_Text |
| BackgroundColor | RGB(255, 255, 255) |
| LeftBorderColor | RGB(0, 0, 0) |
| TopBorderColor | RGB(0, 0, 0) |
| RightBorderColor | RGB(0, 0, 0) |
| BottomBorderColor | RGB(0, 0, 0) |
| LeftBorderStyle | L_OcrBorderLineStyle_Solid |
| TopBorderStyle | L_OcrBorderLineStyle_Solid |
| RightBorderStyle | L_OcrBorderLineStyle_Solid |
| BottomBorderStyle | L_OcrBorderLineStyle_Solid |
| LeftBorderWidth | 1 |
| TopBorderWidth | 1 |
| RightBorderWidth | 1 |
| BottomBorderWidth | 1 |
| BackgroundFillStlye | L_OcrBackgroundFillStyle_None |
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. |
| 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_OcrPage_SetZoneCells.