GetNextProcessedPage Method of the BatchProcessor Object

This method provides the background processing until the next recognized image is available.

When calling GetNextProcessedPage method, Batch Processor calls the GetNextImageFile method of the IImageSource interface. The method returns the next image file from the source queue. For each page of the image file a new processing task is created, and this task is passed to one of the recognition processes. If all the tasks for one file have been passed for processing, but not all of the recognition processes are occupied, the GetNextImageFile method is called again. This is done until the first image page has been converted and passed to the user. Pages are returned to the user using the GetNextProcessedPage method in the order they have been taken from the image source.

Call the GetNextProcessedPage method in a loop until the method returns 0, which means that there are no more images in the source and all the processed images have been returned to the user.

Important! The page returned by the GetNextProcessedPage method exists until the next call of this method. Therefore, if you want to save this page, you must save it using the methods of the FRPage object or add it to an existing document using the IFRDocument::AddPage method BEFORE the next call of the GetNextProcessedPage method.

Syntax

HRESULT GetNextProcessedPage( IFRPage** Result );
    

Parameters

Result
[out, retval] A pointer to the IFRPage* variable that receives the interface pointer for the FRPage object corresponding to the output page.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

BatchProcessor

03.07.2024 8:50:25

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.