#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2DeleteSettingsCollectionExt(hDoc, nDocId, nSid)
Deletes a specified setting collection.
Handle to the OCR document. This handle is obtained by calling L_Doc2StartUp.
Document ID created by calling L_Doc2CreateDocument.
Settings collection ID to be deleted.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_Doc2CreateDocument.