Skip to main content
MrzFieldTypeEnum enumeration constants specify the field types of a machine-readable zone (MRZ).
typedef enum {
 MFT_DocumentType,
 MFT_DocumentSubtype,
 MFT_IssuingCountry,
 MFT_LastName,
 MFT_GivenName,
 MFT_DocumentNumber,
 MFT_Nationality,
 MFT_BirthDate,
 MFT_Sex,
 MFT_ExpiryDate,
 MFT_PersonalNumber,
 MFT_OptionalDataLine1,
 MFT_OptionalDataLine2
} MrzFieldTypeEnum;

Elements

NameDescription
MFT\_BirthDateDate of birth in the format: YYMMDD.
MFT\_DocumentNumberThe number of a document.
MFT\_DocumentSubtypeThe subtype of a document (if exists). It is the second character of the first line.
MFT\_DocumentTypeThe type of a document. It is the first character of the first line.
MFT\_ExpiryDateDate of expiry in the format: YYMMDD.
MFT\_GivenNameOne or several given names separated with the space character.
MFT\_IssuingCountryCode of issuing state (ISO 3166-1 alpha-3 code).
MFT\_LastNameSurname.
MFT\_NationalityNationality (ISO 3166-1 alpha-3 code).
MFT\_OptionalDataLine1Optional data from the first line of the 2-line or 3-line MRZ.
MFT\_OptionalDataLine2Optional data from the second line of the 2-line or 3-line MRZ.
MFT\_PersonalNumberPersonal number.
MFT\_SexSex. It can have one of the following values: Male (M) or Female (F).

Used in

IMrzField::Type
IMrzData::GetFieldByType
Machine-Readable Zone Fields