
###############################
A3DPDFDocumentAddFileAttachment
###############################

.. c:function:: A3DStatus A3DPDFDocumentAddFileAttachment(A3DPDFDocument *pDoc, const A3DUTF8Char *pcFileName, const A3DUTF8Char *pcDescription)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentAddFileAttachment(:c:type:`~A3DPDFDocument`\ \* **pDoc**\ , *const* :c:type:`~A3DUTF8Char`\ \* **pcFileName**\ , *const* :c:type:`~A3DUTF8Char`\ \* **pcDescription**\ )
   
   Function to attach a file to the document.
   
   Attachments are visible on the Adobe Reader with the specific navigation pane. In Adobe Reader X version, the Attachments pane can be activated with the menu View / Show/Hide / Navigation Panes / Attachments.
   
   **Parameters**
   
   
      **pDoc**\ : The Document object to work with.
   
      **pcFileName**\ : The name of the file to attach.
   
      **pcDescription**\ : The description of the attached file.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




