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 bitmaps, 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. | 
| LoadImageDocFromMemory | Restores the contents of the ImageDocument object from the global memory, where it was previously saved by the IImageDocument::SaveToMemory method. | 
| OpenBitmap | Opens the specified bitmap image (HBITMAP). | 
| OpenBitmapBits | Opens the specified bitmap data. | 
| OpenDib | Opens the specified device-independent bitmap. | 
| 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. | 
| PrepareBitmapBits | Creates a copy of the specified bitmap data in FineReader Engine internal image format. | 
| PrepareDib | Creates a copy of the specified device-independent bitmap in FineReader Engine internal image format. | 
| 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
17.09.2024 15:14:41