Syntax
C++
C#
Visual Basic .NET
Parameters
ImageFileName [in] This variable contains a full path to the image file to open. PrepareMode [in] This parameter refers to the PrepareImageMode object which specifies how an image will be preprocessed during opening. PageIndices [in] This parameter refers to the IntsCollection object which specifies the indices of the pages which have to be added to a document. Note that repeated indices are not allowed. To add the same page several times, please call this method several times.This parameter is optional and may be 0, in which case all the pages of the opened file will be added to the document.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.Remarks
- When opening a PDF Portfolio file using this method, its cover is always included in the output file.
- This method may report events to the listeners attached to the IConnectionPointContainer interface of the FRDocument object.
- For Linux and Windows:
- If your license includes the Office Formats Opening module, you may also use this method to open digital documents of supported formats.
- Depending on the value of the IEngine::MultiProcessingParams property, ABBYY FineReader Engine can distribute opening of multi-page documents to CPU cores.
Samples
This Windows sample illustrates how to abort adding a page into document in case of its prolonged operating.C++ (COM) code
C++ (COM) code
