Close Method of the Batch Object

This method closes the batch (sets the value of the IBatch::IsOpen property to FALSE).

Release all the references to the Batch object, and then call this method. If a batch is not closed, it cannot be deleted from the project. As well an open batch uses more resources than a closed one. So if you have finished your work with the batch and need to free some resources, call this method to close the batch. We recommend using this method in finally blocks.

Syntax

Visual Basic .NET

Sub Close()
    

C++

HRESULT Close();
    

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Samples

This method is used in all code samples.

See also

Batch

IBatch::Open

15.08.2023 13:19:30

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.