SaveToAsciiXMLFile Method of the PlainText Object

This method saves the recognized text from the PlainText object into an XML file, including characters positions and recognition confidence information. The format of this XML file is the same as when exporting to XML format with IXMLExportParams::WriteCharAttributes property set to XCA_Ascii.

Syntax

HRESULT SaveToAsciiXMLFile( BSTR Path );
    

Parameters

Path
[in] A string containing the full path to the file where the text should be saved. If this file does not exist, it will be created. If it does exist, it will be overwritten without prompt.

Return values

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

Remarks

By default, the character coordinates on the original image are saved. You may change this by loading, before this method call, a user profile which includes the following line:

[XMLExportParams]
WriteNonDeskewedCoordinates = false
    

See also

PlainText

7/3/2024 8:50:25 AM

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.