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

FRDocument

Engine

9/17/2024 3:14:40 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.