Chinese Simplified (简体中文)

FRPages Object (IFRPages Interface)

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.

Note: The indexing of ABBYY FineReader Engine collections starts with 0.

The FRPages object is a so-called "connectable object." This means that it supports the IConnectionPointContainer interface. To receive notification events during processing, you should create an object derived from the IFRPagesEvents interface, then advise it to the FRPages object by the call to the AdviseFREngineObject global function.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Count int, read-only Stores the number of elements in the collection.
Element FRPage, read-only Provides access to one page of the collection.

Methods

Name Description
DeleteAt Removes an element from the collection.
IndexOf Returns the index of a page in the collection.
Item Provides access to a single element of the collection.
Renumber Renumbers the pages in the collection.
Swap Swaps two pages with the specified indices.

Related objects

Object Diagram

Input parameter

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

See also

FRDocument

FRPage

Working with Collections

Working with Connectable Objects

Working with Properties

7/3/2024 8:50:10 AM

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.