ExportToFileEx Method of the MrzData Object
This method exports the extracted data to a file in JSON/XML format with the user-defined parameters.
Syntax
HRESULT ExportToFileEx( BSTR FileName, MrzExportFormatEnum Format, IUnknown* ExportParams );
Parameters
- FileName
- [in] This variable contains the full path to the output file in XML/JSON format (see the description of formats in XML Schema for MRZ and JSON file for MRZ). If this file already exists, it is overwritten without prompt.
- Format
- [in] This variable specifies the format of the output file. See the MrzExportFormatEnum description for the supported file formats.
- ExportParams
- [in] This variable may refer to a MrzJsonExportParams or MrzXmlExportParams object that defines parameters for saving the data captured from MRZ to JSON or XML format, respectively. This parameter is optional and may be 0, in which case the parameters of export have default values, or, if a profile has been loaded, the parameters set by this profile are used.
- Important! If you are working with ABBYY FineReader Engine loaded out-of-process, you must pass NULL for this parameter. If you want to pass the export parameters, create a user profile with the desired settings.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
03.07.2024 8:50:25