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
26.03.2024 13:49:49