.. index:: 
  !DocumentInfo.mrzType Property

.. _id3_document_document_info_mrz_type_class_member:

===============================================================================
DocumentInfo.mrzType Property
===============================================================================

Module: :ref:`DocumentInfo<id3_document_document_info_class>`

Type: :ref:`MrzType<id3_document_mrz_type_enum>`

Definition
----------

The type of machine-readable zone (MRZ), if applicable.


.. 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 id3DocumentInfo_GetMrzType (ID3_DOCUMENT_INFO hDocumentInfo, 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.

