.. highlightlang:: us .. _auto_closedocument: auto_CloseDocument ================== .. index:: auto_CloseDocument .. us.tag auto_CloseDocument NOTREADYGERMAN :ref:`auto_CloseDocument` schließt das erzeugte Dokument. Wurde das Dokument noch nicht mit der Funktion :ref:`auto_SaveDocumentAs` gespeichert, wird das Dokument ohne Speicherung geschlossen. .. function:: bool = auto_CloseDocument() .. us.return **Returnwert** *bool* ist TRUE (1), wenn die Funktion erfolgreich war und sonst FALSE (0). .. us.example **Beispiel** :: auto_CloseDocument(); .. seealso:: :ref:`uberblick-automatisierung-der-diagrammerstellung`, :ref:`auto_SaveDocumentAs` :sub:`id-573096`