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.
HRESULT SaveToAsciiXMLFile( BSTR Path );
void SaveToAsciiXMLFile( string Path );
Visual Basic .NET
Sub SaveToAsciiXMLFile(Path As String)
- [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.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
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