Link Details

Link 1078721 thumbnail
User 1187353 avatar

By zondray
via aspose.com
Submitted: Dec 10 2013 / 22:45

This technical tip shows how to work with attachment in a PDF document using Aspose.Pdf. Java & Android Developers can add, delete, get attachment from a PDF file. In order to add attachment in a PDF document, you need to create a FileSpecification object with the file, which needs to be added, and the file description. After that the FileSpecification object can be added to EmbeddedFiles collection of Document object using add(..) method of EmbeddedFiles collection. The EmbeddedFiles collection contains all the attachments added in the PDF file.
  • 2
  • 0
  • 60
  • 33

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)



    Java EE7
    Written by: Andrew Lee Rubinger
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. CI Patterns
    5. CI Tools
    1. Spring Integration
    2. Git
    3. Regex
    4. Java
    5. REST