LoadFromFile Method

This method restores the contents of the object from a file on disk, where it should have previously been saved by the SaveToFile method.

Syntax

HRESULT LoadFromFile( BSTR Path );
    

Parameters

Path
[in] This parameter of the type BSTR specifies the path to the file on disk where the contents of the object is stored. If a file specified by this path was not obtained as a result of a call to the SaveToFile method of an object of the same type as the current one, some specific error code is returned.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

Note that in the case when an object data is read by a functionally limited ABBYY FineReader Engine version, while it was saved by a version with a wider functional set, object properties that cannot be changed in the limited version, are restored to default values.

The following objects provide this method:

See also

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.