LoadFromFile Method of XmlResult Object (COM-based API)

This method restores the contents of the object from a file on disk.

Visual Basic Syntax

Method LoadFromFile(
   file As String
)

C++ Syntax

HRESULT LoadFromFile(
    BSTR file
);

Parameters

file

[in] A path to the file on disk where the contents of the object is stored. The file specified in this path must contain a valid XML representation of an object of the same type as the current one. For example, the file can be obtained as a result of a call to the SaveToFile method of the same type object.

Return Values

This method has no specific return values. It returns standard return values of ABBYY FineReader Server Open API functions.

Remarks

The following objects supports this method: XmlTicket, XmlResult.

See also

SaveToFile

26.03.2024 13:49:49

Please leave your feedback about this article

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.