L_OcrCell_Default

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

Parameters

L_OcrZoneCell* ocrCell

Address to L_OcrZoneCell structure to be updated with default values.

Returns

Value Meaning
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

Help Version 21.0.2020.8.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help