Skip to main content
This object is a collection of document pages. The collection is accessible via the FRDocument object. This collection differs from other collections of child objects. It does not have AddNew method, instead you can use the AddPage method of the parent FRDocument object. It also does not have DeleteAll method and has additional IndexOf, Remove and Swap methods. See Working with Collections for details.
  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.
The FRPages object is a so-called “connectable object.” For Visual Basic in FRE for Windows, it may be declared WithEvents. For C++ (all supported operating systems), this means that it supports the IConnectionPointContainer interface. To receive notification events during processing, C++ users should create an object derived from the IFRPagesEvents interface and…
  • In Linux and macOS, advise it to the FRPage object by the call to the AdviseFREngineObject global function.
  • In Windows: set up the connection between it and the events source implemented in the FRPage object by standard COM means.
In Windows: The methods of the FRPages object report information about page processing progress through special outgoing interfaces. These interfaces are IFRPagesEvents (for C++) and the dispinterface DIFRPagesEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.

Properties

NameTypeDescription
ApplicationEngine, read-onlyReturns the Engine object.
Countint, read-onlyStores the number of elements in the collection.
ElementFRPage, read-onlyProvides access to one page of the collection.

Methods

NameDescription
DeleteAtRemoves an element from the collection.
IndexOfReturns the index of a page in the collection.
ItemProvides access to a single element of the collection.
RenumberRenumbers the pages in the collection.
SwapSwaps two pages with the specified indices.
FRPages Object Diagram

Input parameter

This object is passed as an input parameter to the AddPages method of the ExportFileWriter object.

Samples

The object is used in the following code samples:

See also

FRDocument FRPage Working with Collections Working with Connectable Objects Working with Properties