L_OcrCell_Default - OCR Module - LEAD Engine C++ API Help

L_OcrCell_Default

#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.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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.
Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help