.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetPageWidth

.. _OEDepict_OEGetPageWidth:


.. oe:function:: OEGetPageWidth


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

      .. oe:api::

         double OEGetPageWidth(unsigned int size)

   .. oe:language:: python

      .. oe:api:: python

         OEGetPageWidth(size: int) -> float

   Returns the page width for the given size.

   *size*
      This value has to be from the :oe:constns:`OEDepict::OEPageSize`
      namespace.

   .. seealso::

      * :oe:constns:`OEDepict::OEPageSize` namespace
      * :oe:func:`OEDepict::OEGetPageHeight` function
