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

C++

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

C#

IImageDocument LoadImageDocFromFile( string FileName );
    

Visual Basic .NET

Function LoadImageDocFromFile(FileName As String) As IImageDocument
    

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

17.09.2024 15:14:40

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.