.. highlightlang:: us .. _olesavetofile: OLESaveToFile ============= .. index:: OLESaveToFile .. us.tag OLESaveToFile NOTREADYENGLISH :ref:`OLESaveToFile` saves one OLE object in a file. .. function:: bool = OLESaveToFile(hOle, ssFileName) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hOle *hOle* is the handle of the OLE object .. uparam:: ssFileName *ssFileName* is a filename. .. us.comment **Comment** The saved OLE object can be loaded into a document page with the function :ref:`LayerCreateMetaFromFile`. .. seealso:: :ref:`LayerCreateMetaFromFile` :sub:`id-1238622`