Processing Methods of the Engine Object

The Engine object exposes a set of processing methods. They are used to open and convert image files or process an image/PDF file directly. However, using the methods of the FRDocument object is more convenient in most scenarios.

Name Description
GetNumberOfPagesInImageFile Returns the number of pages in an image file.
InjectTextLayer Processes the input PDF file and creates a searchable PDF file of the "image on text" type which contains the same page images and the text layer created from the recognized text.
IsPdfPortfolio Determines if a PDF file is a PDF Portfolio.
IsPdfPortfolioFromStream Determines if a PDF file added from the stream is a PDF Portfolio.
IsPdfWithTextualContent Determines if any of the pages of a PDF file contains text layer.
IsPdfWithTextualContentFromStream Determines if any of the pages of a PDF file added from the stream contains text layer.
LoadImageDoc Restores the contents of the ImageDocument object from the folder on disk.
LoadImageDocFromFile Restores the contents of the ImageDocument object from the file previously saved with the help of the IImageDocument::SaveToFile method.
OpenBitmap Opens the specified bitmap image (HBITMAP). Not implemented.
OpenBitmapBits Opens the specified bitmap data. Not implemented.
OpenDib Opens the specified device-independent bitmap. Not implemented.
OpenImageFileFromMemory Opens an image file from the global memory, where it was previously loaded by the user.
PrepareBitmap Creates a copy of the specified bitmap image (HBITMAP) in FineReader Engine internal image format. Not implemented.
PrepareBitmapBits Creates a copy of the specified bitmap data in FineReader Engine internal image format. Not implemented.
PrepareDib Creates a copy of the specified device-independent bitmap in FineReader Engine internal image format. Not implemented.
RecognizeImageFile Opens the specified image file, performs its preprocessing, layout analysis, recognition, page and document synthesis, and exports the recognized text into the selected output format.

See also

Engine

27.04.2022 8:30:37

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.