#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrCell_Default(ocrCell)
Initializes an L_OcrZoneCell structure with all values set to default.
Address to L_OcrZoneCell structure to be updated with default values.
| Value | Meaning |
|---|---|
| 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
For an example, refer to L_OcrPage_SetZoneCells