.. index:: 
  !Portrait.photographicAttributes Property

.. _id3_face_portrait_photographic_attributes_class_member:

===============================================================================
Portrait.photographicAttributes Property
===============================================================================

Module: :ref:`Portrait<id3_face_portrait_class>`

Type: :ref:`PhotographicAttributes<id3_face_photographic_attributes_struct>`

Definition
----------

Photographic attributes.


.. tab-set::

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

    .. code:: Python

      photographic_attributes: PhotographicAttributes


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

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

    .. code:: Dart

      PhotographicAttributes get photographicAttributes => getPhotographicAttributes();


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

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

    .. code:: C#

      public PhotographicAttributes photographicAttributes
      {
          get => GetphotographicAttributes();
      }


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

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

    .. code:: Java

      public PhotographicAttributes getPhotographicAttributes() throws FaceException


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

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

    .. code:: Swift

      public var photographicAttributes: PhotographicAttributes
          get {
              return try! getPhotographicAttributes()
          }
      }


    **Exceptions**

      .. line-block::

        :ref:`FaceException<id3_face_face_exception>`
        An error has occurred during Face Library execution.

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

    .. code:: C

      int id3FacePortrait_GetPhotographicAttributes (ID3_FACE_PORTRAIT hPortrait, id3FacePhotographicAttributes * sPhotographicAttributes)

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

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

