L_OcrSettingManager_GetSettingName

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrSettingManager_GetSettingName(settingManager, index, value, count)

L_OcrSettingManager settingManager; handle to the OCR engine setting manager
L_UINT index; index of the setting to get its name
L_TCHAR* value; allocated string buffer to hold the setting name
L_UINT count; number of the allocated string buffer elements

Returns friendly name for the setting its index was passed.

Parameter Description
settingManager Handle to the OCR engine setting manager.
index Index of the setting to get its name.
value Allocated string buffer to hold the setting name, you should allocate this buffer with enough space for the setting name size, which is 120 characters.
count Number of the allocated string buffer elements, this should be _countof(value).

Returns

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

Comments

This function will fill the value parameter with a friendly name for the setting its index was passed.

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.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS OCR Module - LEAD Engine C API Help