.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetImageGridNumColumns

.. _OEDepict_OEGetImageGridNumColumns:


.. oe:function:: OEGetImageGridNumColumns


   .. oe:language:: c++ java csharp

      .. oe:api::

         unsigned int OEGetImageGridNumColumns(const OESystem::OEInterface& itf,
                                               std::string name = OEImageGridParamName::NumColumns)

   .. oe:language:: python

      .. oe:api:: python

         OEGetImageGridNumColumns(itf: OEInterface, name: str) -> int

   Returns the number of grid columns initialized in the given interface.

   *itf*
      The interface in which the parameter is configured.

   *name*
      The name of the parameter.

   .. seealso::

      * :oe:func:`OEDepict::OEConfigureImageGridNumColumns` function
