Skip to main content
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.
  • In Windows: Calling this method for .NET is required. We recommend using it in finally blocks.

See also

FRDocument Engine