L_OcrCell_Default

Summary

Initializes an L_OcrZoneCell structure with all values set to default.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrCell_Default(ocrCell)

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

See Also

Topics

Example

For an example, refer to L_OcrPage_SetZoneCells

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.