.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetImageWidth

.. _OEDepict_OEGetImageWidth:


.. oe:function:: OEGetImageWidth


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

      .. oe:api::

         double OEGetImageWidth(const OESystem::OEInterface& itf,
                                std::string name = OEImageParamName::Width)

   .. oe:language:: python

      .. oe:api:: python

         OEGetImageWidth(itf: OEInterface, name: str) -> float

   Returns the width of the image initialized in the given interface.

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

   *name*
      The name of the parameter.

   .. seealso::

      * :oe:func:`OEDepict::OEConfigureImageWidth` function
