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

L_OcrZone_Default

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrZone_Default(ocrZone)

L_OcrZone* ocrZone; address to L_OcrZone structure to be updated with default value

Initializes an L_OcrZone structure with all values set to default.

Parameter Description
ocrZone Address to L_OcrZone structure to be updated with default value.

Returns

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

Comments

This method initializes the values of L_OcrZone as following:

Member Value
StructSize sizeof(L_OcrZone)
Id 0
Name Empty string array
Bounds Empty L_RECT
ZoneType L_OcrZoneType_Text
CharacterFilters L_OcrZoneCharacterFilters_None
Language L_OcrLanguage_None
IsEngineZone L_FALSE
ForeColor RGB(0, 0, 0)
BackColor RGB(255, 255, 255)
ViewPerspective TOP_LEFT
TextDirection L_OcrTextDirection_LeftToRight
TextStyle L_OcrTextStyle_Normal
FontRatio 0

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