.. index:: 
  !DocumentFormat Enumeration

.. _id3_document_document_format_enum:

===============================================================================
DocumentFormat Enumeration
===============================================================================

Namespace: :ref:`id3.Document<reference_document>`

Definition
----------

.. line-block::
    Enumerates document formats, according to ISO/IEC 7810.

.. tab-set::

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

    .. code-block:: Python

      class DocumentFormat

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

    .. code-block:: Dart

      enum DocumentFormat

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

    .. code-block:: C#

      public enum DocumentFormat

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

    .. code-block:: Java

      public enum DocumentFormat

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

    .. code-block:: Swift

      public enum DocumentFormat

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

    .. code-block:: C

      typedef enum id3DocumentFormat


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``unknown``
    - 0
    - Unknown document format.
  * - ``a4``
    - 1
    - A4 format document
  * - ``id1``
    - 2
    - ID-1 format. Specifies a size of 85.60 by 53.98 millimetres. This format is commonly used for most banking cards and ID cards.
  * - ``id2``
    - 3
    - ID-2 format. Specifies a size of 105 by 74 millimetres. This format is used for visas, Romanian and other ID cards. Visas. 
  * - ``id3``
    - 4
    - ID-3 format. Specifies a size of 125 by 88 millimetres. This format is commonly used for passport booklets.
