ProcessPages Method of the FRDocument Object

This method performs preprocessing, layout analysis, recognition, and page and document synthesis of the specified pages in the document.

Syntax

HRESULT ProcessPages(
  IIntsCollection*           PageIndices,
  IDocumentProcessingParams* DocumentProcessingParams
);
    

Parameters

PageIndices
[in] Refers to the IntsCollection object that contains the indices of pages to be recognized. This parameter may be 0. In this case, all pages of the document are processed.
DocumentProcessingParams
[in] Refers to the DocumentProcessingParams object that stores all processing parameters. This parameter may be 0. In this case, the pages are processed with default parameters (all processing parameters are set to default values), or, if a profile has been loaded, the parameters set by this profile are used.

Return values

If document processing is interrupted by the user, this method will return E_ABORT. It also returns the standard return codes of ABBYY FineReader Engine functions.

Remarks

  • This method may report events to the listeners attached to the IConnectionPointContainer interface of the FRDocument object.

See also

FRDocument

Working with Profiles

03.07.2024 8:50:10

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.