.. index:: 
  !FaceIndexer.resize Method
  
.. _id3_face_face_indexer_resize_class_method:

===============================================================================
FaceIndexer.resize Method
===============================================================================

Module: :ref:`FaceIndexer<id3_face_face_indexer_class>`

Definition
----------

Resizes the maximum number of templates that the face indexer can hold.


.. tab-set::

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

      .. code:: Python

        resize(self, maximum_count: int) -> None

      **Parameters**

        .. line-block::

          ``maximum_count`` int
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **Exceptions**

        .. line-block::

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


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

      .. code:: Dart

        void resize(int maximumCount)

      **Parameters**

        .. line-block::

          ``maximumCount`` int
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **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 void Resize(int maximumCount)

      **Parameters**

        .. line-block::

          ``maximumCount`` int
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **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 void resize(int maximumCount) throws FaceException

      **Parameters**

        .. line-block::

          ``maximumCount`` int
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **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 func resize(maximumCount: Int32) throws

      **Parameters**

        .. line-block::

          ``maximumCount`` Int32
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **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 id3FaceIndexer_Resize (
            ID3_FACE_INDEXER hFaceIndexer, 
            int maximumCount)

      **Parameters**

        .. line-block::

          ``hFaceIndexer`` :ref:`ID3_FACE_INDEXER<id3_face_face_indexer_class>`
          :guilabel:`in` Handle to the FaceIndexer object.

          ``maximumCount`` int
          :guilabel:`in` Maximum number of templates that this face indexer can hold.


      **Returns**

        .. line-block::

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


