file = doc:AttachFile(f$)
doc:AttachFile()
attaches the file specified by f$
to the document and
returns a handle to the embedded file or Nil
on error.
#HPDF_INVALID_DOCUMENT
- An invalid document handle was set.
#HPDF_FAILED_TO_ALLOC_MEM
- Memory allocation failed.