SaveToFile Method of XmlResult Object (COM-based API)

This method saves the contents of the object into a file on disk.

Visual Basic Syntax

Method SaveToFile(
   file As String
)

C++ Syntax

HRESULT SaveToFile(
    BSTR file
);

Parameters

file

[in] This parameter specifies the path to the file where the contents of the object should be saved. If a file with this name already exists, it will be overwritten without prompt.

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.

The contents of the XmlResult object are saved using the path specified in the path parameter if no folder for the XML Result file is specified in the Remote Administration Console (on the Output tab of the Workflow Properties dialog box). If a folder for the XML Result file is specified in the Remote Administration Console, the XML file will be saved to that folder and the path parameter will be ignored.

See also

LoadFromFile

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.