Skip to main content

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 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