This method is implemented in FRE for Linux and Windows.
For Windows, this method should be used only if you open images that were already loaded into memory — for example, using the OpenBitmap or OpenDib methods of the Engine object. If you get images from files on disk, implement GetNextImageFile.
- All the ImageDocument objects in the queue must be valid till the end of processing. For correct operation the ImageDocument objects should be created via the Engine object. If they are created via the FRDocument object an error may occur because of the FRDocument object being destroyed during the call to the GetNextImageDocument method.
- As the method is implemented on the client-side there are the following restrictions:
- all password-protected files should be opened manually on the client-side;
- the attributes specified in the PrepareImageMode object during the initialization of the BatchProcessor object will not affect the ImageDocument objects in the queue.
Syntax
C++
C#
Visual Basic .NET
Parameters
Result [out, retval] A pointer to IImageDocument* pointer variable that provides access to the next image document in the queue.Return values
[C++ only] If this method returns a value other than S_OK, it indicates that an error occurred on the client-side.Remarks
The client implementation of this method must assure that all exceptions thrown inside the method are caught and handled and no exceptions are propagated outside the method. Propagation of an exception outside the method may lead to unpredictable results (such as program termination).Samples
C# code
C# code
