Class Gender
Represents the gender/sex field as defined in the ICAO MRZ standard.
Inheritance
System.Object
Gender
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public sealed class Gender : Enum
Fields
Female
Female ('F' in MRZ).
Declaration
public const Gender Female
Field Value
| Type | Description |
|---|---|
| Gender |
Male
Male ('M' in MRZ).
Declaration
public const Gender Male
Field Value
| Type | Description |
|---|---|
| Gender |
Unspecified
Unspecified ('X' or '<' in MRZ, used when gender is not specified or non-binary).
Declaration
public const Gender Unspecified
Field Value
| Type | Description |
|---|---|
| Gender |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |