.. index:: 
  !MrzReadingResult.mrzType Property

.. _id3_document_mrz_reading_result_mrz_type_class_member:

===============================================================================
MrzReadingResult.mrzType Property
===============================================================================

Module: :ref:`MrzReadingResult<id3_document_mrz_reading_result_class>`

Type: :ref:`MrzType<id3_document_mrz_type_enum>`

Definition
----------

Type of the MRZ detected.


.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code:: Python

      mrz_type: MrzType


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Dart
    :sync: Dart

    .. code:: Dart

      MrzType get mrzType => getMrzType();


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: C#
    :sync: C#

    .. code:: C#

      public MrzType mrzType
      {
          get => GetmrzType();
      }


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Java
    :sync: Java

    .. code:: Java

      public MrzType getMrzType() throws DocumentException


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: Swift
    :sync: Swift

    .. code:: Swift

      public var mrzType: MrzType
          get {
              return try! getMrzType()
          }
      }


    **Exceptions**

      .. line-block::

        :ref:`DocumentException<id3_document_document_exception>`
        An error has occurred during Document Library execution.

  .. tab-item:: C
    :sync: C

    .. code:: C

      int id3DocumentMrzReadingResult_GetMrzType (ID3_DOCUMENT_MRZ_READING_RESULT hMrzReadingResult, id3DocumentMrzType * eMrzType)

    **Returns**
   
      .. line-block::

        ``int``
        An error code.
        See :ref:`id3DocumentError<id3_document_document_error_enum>` file for the list of possible error codes.

