L_Doc2DeleteSettingsCollectionExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2DeleteSettingsCollectionExt(hDoc, nDocId, nSid)

Deletes a specified setting collection.

Parameters

L_HDOC2 hDoc

Handle to the OCR document. This handle is obtained by calling L_Doc2StartUp.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

L_INT nSid

Settings collection ID to be deleted.

Returns

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

Comments

Delete the settings collection only when your application no longer requires it. All engine functions require a settings collection. So deleting it without creating a new one, and then calling other engine functions can cause errors.

To create a new settings collection call the L_Doc2CreateSettingsCollection function, and to activate a settings collection call the L_Doc2SetActiveSettingsCollection / L_Doc2SetActiveSettingsCollectionExt function.

Required DLLs and Libraries

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

LEADTOOLS OCR Module - OmniPage Engine C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.