L_OcrZone_Default

Summary

Initializes an L_OcrZone structure with all values set to default.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrZone_Default(ocrZone)

Parameters

L_OcrZone* ocrZone

Address to L_OcrZone structure to be updated with default value.

Returns

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

See Also

Functions

Topics

Example

For an example, refer to L_OcrZoneManager_GetOMROptions

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.