- 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.
Properties
Name | Type | Description |
|---|---|---|
Application | Returns the Engine object. | |
Common attributes | ||
Returns the document which contains the page. | ||
Provides access to the image of the page. | ||
Provides access to the layout of the page. When you assign a Layout object to this property (for example, when transferring data from one page to another), the logical structure of the corresponding document becomes invalid. It is necessary to restore the document structure by calling one of the synthesis methods. However, you do not need to perform synthesis for the whole document, it is only necessary to synthesize changed pages, e.g., using the Synthesize method. | ||
Returns the text of the page in a special “plain text” format. | ||
BSTR, read-only | Specifies the full path to the source image of the page. | |
Page languages | ||
BSTR, read-only | Specifies the main language of the recognized page. The property contains the internal name of the first language in the collection of detected languages (DetectedLanguages property). This property has a meaningful value only if recognition was performed with the automatic language detection on (see the IRecognizerParams::LanguageDetectionMode property for details). By default, it is an empty string. | |
Provides access to the collection of recognition languages detected on the recognized page. Languages in the collection are sorted by the frequency of occurrence: from the most frequently occurred to the least. This property has a meaningful value only if recognition was performed with the automatic language detection on (see the IRecognizerParams::LanguageDetectionMode property for details). The list of languages is updated only after recognition, i.e., if you edit the layout of the page manually, the collection remains the same. | ||
Page structure | ||
VARIANT_BOOL, read-only | Specifies whether the logical structure of the page is out of date. If this property is TRUE, you should perform document synthesis for the page before export. Otherwise, an error will occur during export. This property is useful when you work with Visual Components. The logical structure of a page becomes invalid if a user changes layout of this page via GUI of Visual Components. If export of such page is performed using commands available in Visual Components, Visual Components synthesize the page automatically. But if you use FineReader Engine API methods for export, you are responsible for performing document synthesis for the page before export. | |
int, read-only | Returns the index of the page in the source file. | |
VARIANT_BOOL, read-only | Indicates whether the source file of this page was a digitally signed PDF. | |
Business cards | ||
Provides access to the collection of business cards detected on the page. | ||
Undo support | ||
Specifies whether the Undo and Redo methods are allowed. If the value of this property is TRUE, all the commands called either with the help of the methods that can modify the page (such as methods of the FRPage or the ImageDocument object) or from the Windows Visual Components can be added to an undo stack. In this case, the commands that were called from the Visual Components are added to the stack automatically. To add to the stack the commands which were called from the API, use the Update method. The property cannot be set to FALSE for a page which has been opened in Visual Components. | ||
VARIANT_BOOL, read-only | Specifies whether the Redo method can be executed for the latest undone command which was called either with the help of one of the methods that can modify the page (such as methods of the FRPage or the ImageDocument object) or from one of the Visual Components. | |
VARIANT_BOOL, read-only | Specifies whether the Undo method can be executed for the latest command which was called either with the help of one of the methods that can modify the page (such as methods of the FRPage or the ImageDocument object) or from one of the Visual Components. | |
Methods
Related objects
Object Diagram
Output parameter
This object is the output parameter of the following methods:- Item method of the FRPages object
- In Linux and Windows: GetNextProcessedPage method of the BatchProcessor object
Input parameter
This object is passed as an input parameter to the following methods:- IndexOf method of the FRPages object
- AddPage method of the FRDocument object
- AddPage method of the ExportFileWriter object
- CreateObjectFromPage method of the ClassificationEngine object
- OnProgress, OnWarning, OnRegionProcessed, OnPageProcessed methods of the IFRPageEvents interface
- PageRemoved method of the IFRPagesEvents interface
- ComparePages method of the Comparator object
- In Linux and Windows: ProcessPageAsync method of the BatchProcessor object
- In Windows, using Visual Components:
- OnActivePageChanged, OnActivePageChanging methods of the DocumentViewerEvents interface
- OnActivePageChanged, OnActivePageChanging method of the IImageViewerEvents interface
- OnActivePageChanged method of the IZoomViewerEvents interface
- OnActivePageChanged, OnActivePageChanging method of the ITextEditorEvents interface
- OnActivePageChanged method of the ITextValidatorEvents interface
Related Visual Components
Samples
C# code
C# code
- macOS: Business Card Recognition and RecognizedTextProcessing
- Linux: BCR, BatchProcessing, CustomLanguage, CommandLineInterface
- Windows: BatchProcessing, CustomLanguage, CommandLineInterface, RecognizedTextProcessing, VisualComponents and demo tools: BatchProcessingRecognition, Engine Predefined Processing Profiles.
