LoadImageDocFromFile Method of the Engine Object

This method restores the contents of the ImageDocument object from the file previously saved with the help of the IImageDocument::SaveToFile method.

Syntax

HRESULT LoadImageDocFromFile(
  BSTR             FileName,
  IImageDocument** Result
);
    

Parameters

FileName
[in] This variable contains a full path to the file with image document.
Result
[out, retval] A pointer to IImageDocument* pointer variable that receives the interface pointer of 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.

See also

Engine

IImageDocument::SaveToFile

03.07.2024 8:50:10

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.