.. highlightlang:: us .. index:: DocSetModifiedFlag .. _docsetmodifiedflag: DocSetModifiedFlag ================== .. us.tag DocSetModifiedFlag ENGLISH DocSet :ref:`DocSetModifiedFlag` sets or clears the modification flag of the document. .. function:: bool = DocSetModifiedFlag(hDoc, bModified) .. 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:: bModified If *bModified* is TRUE (1), the modification flag will be set. If *bModified* is FALSE (0), the modification flag will be cleared. .. us.comment **Comment** The modification flag is automatically set whenever the user changes the contents of the document. .. seealso:: :ref:`overview-documents`, :ref:`DocCreate`, :ref:`DocIsModified` :sub:`id-609814`