PDF Attachments

PDF Attachments are an essential feature of PDF Documents. It is possible to embedd any type of documents as attachments to PDF Documents.

With Aloaha there are different ways on how to attach a file to a PDF documents. 

It is possible just to drag&drop any files to the PDF preview screen after a document has been printed to the Wrocklage PDF Printer.

With the Aloaha PDF Editor it is possible to attach manual any file to the PDF Document. Files can be just dragged and dropped to the editor or embedded via the attachment command in the Editor Menu.

There is also an embedded command attachmentPDF to instruct Aloaha to included attachments while generating a PDF.

 


PDF Attachment API

With the Aloaha PDF Suite Enterprise Edition it is possible to automate the inclusion of files into PDF Documents. Please find the sample code below:


Dim PDF
Dim PDFFile
Dim path
Dim Description
Dim Mimetype


set PDF = createobject("aloahapdf.edit") 

'set PDF to be opened
PDFFile="C:\document.pdf"

'set the Attachment Description
Description="Business Card"

'define the file to be attached
path="c:\Businesscard.rtf"

If PDF.load_pdf_to_mem(cstr(PDFFile)) = true then

     If pdf.insertfile(CStr(Description), CStr(path),CStr(Mimetype)) = true Then 

          call PDF.save_pdf_to_file(cstr("c:\targetpdf.pdf")) 

     end If 

end if


set PDF = nothing


Please ask...

Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question?
Please check!
  • Hi
    With the "PDF Attachement API" one can attach a file to a PDF. Is there also a programmatic way to export an attachement from a PDF?

    Thank you and kind regards
    Thomas

    No,

    but if it is a requirement please contact us and we might add the feature for you.
    Answered 17.09.2009
  • Hello,
    we are interested in the PDF Attachment API and we would like to know which is the minimal software that we need to buy.
    Regards

If not, please do not hesitate to send us your question.
We would be glad to answer it.


Home / Knowledge Base / PDF SDK / PDF Attachments
Please ask...

Download Aloaha PDF Suite





PDF Editor inclusive!
create PDF Software

PDF Attachments

Any questions?
Aloaha Software - Software Development / PDF SDK / PDF Attachments
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version