.. # split from OESpicoliFunctions.rst:232


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OEIsWriteableSurface

.. oe:function:: OEIsWriteableSurface

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

      .. oe:api::

         bool OEIsWriteableSurface(unsigned int type)
         bool OEIsWriteableSurface(const std::string& filename)

   .. oe:language:: python

      .. oe:api:: python

         OEIsWriteableSurface(type: int) -> bool
         OEIsWriteableSurface(filename: str) -> bool

   Returns ``true`` if the supplied file format is writable by
   Spicoli. The ``filename`` can be a file name or a file
   extension. The ``unsigned int`` parameter value should be drawn
   from the :oe:constns:`OESpicoli::OESurfaceFileType` namespace.


