Skip to main content
The Engine object exposes a set of processing methods. They are used to open and convert image files or bitmaps (win), or process an image/PDF file directly. However, using the methods of the FRDocument object is more convenient in most scenarios.
NameDescription
GetNumberOfPagesInImageFileReturns the number of pages in an image file.
InjectTextLayerProcesses 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.
IsPdfPortfolioDetermines if a PDF file is a PDF Portfolio.
IsPdfPortfolioFromStreamDetermines if a PDF file added from the stream is a PDF Portfolio.
IsPdfWithTextualContentDetermines if any of the pages of a PDF file contains text layer.
IsPdfWithTextualContentFromStreamDetermines if any of the pages of a PDF file added from the stream contains text layer.
LoadImageDocRestores the contents of the ImageDocument object from the folder on disk.
LoadImageDocFromFileRestores the contents of the ImageDocument object from the file previously saved with the help of the IImageDocument::SaveToFile method.
LoadImageDocFromMemory <Note> Available for Windows. </Note>Restores the contents of the ImageDocument object from the global memory, where it was previously saved by the IImageDocument::SaveToMemory method.
OpenBitmapOpens the specified bitmap image (HBITMAP). <Note> Not implemented for Linux and macOS. </Note>
OpenBitmapBitsOpens the specified bitmap data. <Note> Not implemented for Linux and macOS. </Note>
OpenDibOpens the specified device-independent bitmap. <Note> Not implemented for Linux and macOS. </Note>
OpenImageFileFromMemoryOpens an image file from the global memory, where it was previously loaded by the user.
PrepareBitmapCreates a copy of the specified bitmap image (HBITMAP) in FineReader Engine internal image format. <Note> Not implemented for Linux and macOS. </Note>
PrepareBitmapBitsCreates a copy of the specified bitmap data in FineReader Engine internal image format. <Note> Not implemented for Linux and macOS. </Note>
PrepareDibCreates a copy of the specified device-independent bitmap in FineReader Engine internal image format. <Note> Not implemented for Linux and macOS. </Note>
RecognizeImageFileOpens 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