Free Support Forum - aspose.com

Add new layer with text to existing PDF using Aspose.PDF for .NET

Dear All,

I need to accomplish the following task and I was wondering if Aspose.Pdf would be a suitable candidate:
1. Load an existing PDF (hopefully, no problems there).
2. Add a new layer on the first page the same size as the page itself.
3. Add text to that layer in any position and orientation the user specifies (position and rotation are specified via input boxes).
4. Save the resulting PDF (I guess this should mean no problem at all, either).

Optional extras would include specifying layer properties like visibility, print-ability.

Can Aspose.Pdf solve these tasks?
Thanks for the help in advance.

Daniel

Hi Daniel,


Thanks for contacting support.

Aspose.Pdf for .NET offers the feature to Add Layers to PDF File and you can display the layer at any location inside PDF document. However currently it does not support the feature to rotate layer contents. For the sake of correction, I have logged it as PDFNET-40992 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction.

Besides this, please note that Aspose.Pdf for .NET also offers the feature to add Text as stamp object inside PDF file, so as per your requirements, you can add text over PDF file. For more information, please visit