|L_OcrSettingManager settingManager;||handle to the OCR engine setting manager|
|L_OcrSettingDescriptor** value;||pointer to L_OcrSettingDescriptor* to be allocated and updated with the settings descriptors|
|L_UINT* count;||pointer to L_UINT variable to be updated with the number of allocated descriptors|
Gets all settings descriptors at once.
|settingManager||Handle to the OCR engine setting manager.|
|value||Pointer to L_OcrSettingDescriptor* to be allocated and updated with the settings descriptors, you should declare a variable of type L_OcrSettingDescriptor* and pass its address.
You should call L_OcrMemory_Free after you are done with these setting descriptors in order to free the allocated memory.
|count||Pointer to L_UINT variable to be updated with the number of allocated descriptors.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function gets all settings descriptors at once.
LEADTOOLS OCR Module - LEAD Engine contain specific additional features and functionality that can be queried and updated using different L_OcrSettingManager handle functions.
You can use the different methods of the L_OcrSettingManager handle to get and set the engine-specific settings. Each setting has a unique name (a string value). You can get all the settings available to the current OCR engine through the L_OcrSettingManager_GetSettingName method. The L_OcrSettingManager_GetSettingDescriptor and L_OcrSettingManager_GetSettingDescriptors methods returns a description of the setting (its type, friendly name and value range), you can then use the various setting get and set methods to query and change the value of a certain setting. For example, if the setting type is L_OcrSettingValueType_Integer, you can use the L_OcrSettingManager_GetIntegerValue to get the current value of the setting and the L_OcrSettingManager_SetIntegerValue to change its value. Refer to L_OcrEngine_GetSettingManager for a complete example.
Note: You should call L_OcrMemory_Free after you are done with these setting descriptors in order to free the allocated memory.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Functions:||L_OcrSettingManager_GetSettingCount, L_OcrSettingManager_GetSettingName, L_OcrSettingManager_IsSettingNameSupported, L_OcrSettingManager_GetSettingValueType, L_OcrSettingManager_GetSettingDescriptor, L_OcrSettingManager_GetIntegerValue, L_OcrSettingManager_SetIntegerValue, L_OcrSettingManager_GetEnumValue, L_OcrSettingManager_SetEnumValue, L_OcrSettingManager_GetEnumValueAsString, L_OcrSettingManager_SetEnumValueAsString, L_OcrSettingManager_GetDoubleValue, L_OcrSettingManager_SetDoubleValue, L_OcrSettingManager_GetBooleanValue, L_OcrSettingManager_SetBooleanValue, L_OcrSettingManager_GetStringValue, L_OcrSettingManager_SetStringValue, L_OcrSettingManager_GetValue, L_OcrSettingManager_SetValue, L_OcrSettingManager_LoadFile, L_OcrSettingManager_SaveFile|
|Topics:||Programming with LEADTOOLS OCR Module - LEAD Engine|
|Starting and Shutting Down the OCR Engine|
|LEADTOOLS OCR Module - LEAD Engine Settings|
For an example, refer to L_OcrEngine_GetSettingManager