.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OESetup2DMolDisplayOptions

.. _OEDepict_OESetup2DMolDisplayOptions:


.. oe:function:: OESetup2DMolDisplayOptions


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

      .. oe:api::

         bool OESetup2DMolDisplayOptions(OE2DMolDisplayOptions& opts,
                                         const OESystem::OEInterface& itf)

   .. oe:language:: python

      .. oe:api:: python

         OESetup2DMolDisplayOptions(arg1: OE2DMolDisplayOptions,
                                    itf: OEInterface) -> bool

   Initializes an :ref:`OE2DMolDisplayOptions <OEDepict_OE2DMolDisplayOptions>`
   object from the parameters of a given interface.

   .. seealso::

      * :ref:`OE2DMolDisplayOptions <OEDepict_OE2DMolDisplayOptions>` class
      * :oe:func:`OEDepict::OEConfigure2DMolDisplayOptions` function
