.. highlightlang:: us .. index:: DocSetTitle .. _docsettitle: DocSetTitle =========== .. us.tag DocSetTitle ENGLISH DocSet :ref:`DocSetTitle` sets the document title. .. function:: bool = DocSetTitle(hDoc, ssTitle) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hDoc Identifies the document. .. uparam:: ssTitle *ssTitle* is a string to be used as the document title. The title can only be set for a new file. To set the title for an already saved file, you must first call :ref:`DocSetPathName` with an empty path name. .. seealso:: :ref:`overview-documents`, :ref:`DocCreate`, :ref:`DocGetTitle`, :ref:`AppSetTitle`, :ref:`DocSetPathName` :sub:`id-131445`