Free Support Forum - aspose.com

Editing existing pdf file using Aspose.pdf jar

Hi,


I have a requirement to update the existing PDF file. Is it possible to read in an existing PDF file, make some modifications to it and save it back as a different pdf file?

Thanks,
Shyam Agrawal.

Hi there,


Thanks for your inquiry. You can easily achieve your requirements by using Aspose.Pdf.Kit for Java, It’s a Pdf document manipulation component that enables Java developers to manage and manipulate existing Pdf files as well as manage form fields embedded within Pdf files. You can download the Aspose.Pdf.Kit for Java from here and kindly refer documentation for details and sample code snippets. You can also make a request for 30 days temporary license to evaluate our product without
any limitation.

Please feel free to contact us for any further assistance.


Best Regards,

Thanks for quick reply.

I am trying to set image in PDF file. Is it possible to achieve by using XML template. For example,

[XML]

<?xml version="1.0" encoding="utf-8" ?><?xml:namespace prefix = o />

<Pdf xmlns="Aspose.Pdf">

<Section ID="Section1">

<Image ID="signatureImage" File=""></Image>

< /Section>

</Pdf>

First I want to read existing pdf file and at the end of the file I want to append image.

Please let me know How can I set image?

Thanks,

Shyam Agrawal.