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.



HRESULT ProcessPages(
  IIntsCollection*           PageIndices,
  IDocumentProcessingParams* DocumentProcessingParams


void ProcessPages(
  IIntsCollection           PageIndices,
  IDocumentProcessingParams DocumentProcessingParams

Visual Basic .NET

Sub ProcessPages( _
  PageIndices As IIntsCollection, _
  [DocumentProcessingParams As IDocumentProcessingParams = Nothing]


[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.
[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.


  • This method may report events to the listeners attached to the IConnectionPointContainer interface of the FRDocument object.
  • Depending on the value of the IEngine::MultiProcessingParams property, ABBYY FineReader Engine can distribute processing of multi-page documents to CPU cores.

See also


Working with Profiles

24.03.2023 8:51:52

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.