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
03.07.2024 8:50:25