Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
This method restores the contents of the ImageDocument object from the folder on disk.
The ImageDocument can be saved in a folder on disk using the following methods:
Please notice that the files on disk in the internal format cannot be deleted until the resulting ImageDocument object is released. This is due to the fact that, for improving the performance of the method, not all the data is loaded immediately. Some of the data is only loaded from the files on demand.
Syntax
C++
HRESULT LoadImageDoc(
BSTR FolderName,
IImageDocument** Result
);
IImageDocument LoadImageDoc( string FolderName );
Visual Basic .NET
Function LoadImageDoc(FolderName As String) As IImageDocument
Parameters
FolderName
[in] This variable contains the full path to the folder with image document.
Result
[out, retval] A pointer to IImageDocument* pointer variable that receives the interface pointer to the resulting ImageDocument object. Must not be NULL.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
This method is primarily designed for multi-page scenarios when it is not possible to keep all the images in memory. In this case, ImageDocument objects are saved on disk, and then LoadImageDoc method is called as needed.
See also
Working with Images
Engine
LoadImageDocFromFile
LoadImageDocFromMemory (Win)