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

C++

HRESULT ExportToFileEx(
  BSTR                 FileName,
  MrzExportFormatEnum  Format,
  IUnknown*            ExportParams
);
    

C#

void ExportToFileEx(
  string               FileName,
  MrzExportFormatEnum  Format,
  object               ExportParams
);
    

Visual Basic .NET

Sub ExportToFileEx( _
  FileName As String, _
  Format As MrzExportFormatEnum, _
  ExportParams As Object _
)
    

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.

Return values

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

See also

MrzData

Machine-Readable Zone Capture

9/17/2024 3:14:40 PM

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.