Close Method of the FRDocument Object
This method releases all the resources that were used by the FRDocument object (frees the memory, removes temporary files). The FRDocument object is returned to the initial state — the state of the object after its creation with the IEngine::CreateFRDocument method.
Syntax
C++
HRESULT Close();
C#
void Close();
Visual Basic .NET
Sub Close()
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
- We recommend that you use this method each time you have finished to work with the current FRDocument object. After the method is called, the object can be reused.
- For .NET calling of this method is required. We recommend using it in finally blocks.
See also
17.09.2024 15:14:40