.. highlightlang:: us .. index:: DocHasAttachments .. _dochasattachments: DocHasAttachments ================= .. us.tag DocHasAttachments ENGLISH New5900 DocGet :ref:`DocHasAttachments` checks if the document has attachments. .. function:: bool = DocHasAttachments(hDoc) .. us.return **Return Value** *bool* is TRUE (1) if the document has attachments and otherwise FALSE (0). .. us.params **Parameters** .. uparam:: hDoc identifies the document. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2017 - New. .. seealso:: :ref:`overview-documents` :sub:`id-1166890`