We have a .net application which is using iTextSharp to fill in a PDF form built in Adobe LiveCycle. The form is being generated correctly. Now we want to add an image to the PDF. The image should be a signature which will be either a png or jpg file. It should be placed on page 6 of the PDF on the line 'Originator Name, Title'.
I currently have the below code, which works when adding images to some PDFs, but not for the PDF we are using. I think there is some issue with the PDF file that needs to be fixed.
Project requirements are:
- Add image to PDF file on page 6 at field 'Originator Name, Title'
- All other data should continue importing to the form as before.
- Currently the last 4 pages of the PDF are a fillable form, these should stay fillable.
- The PDF has usage rights to allow users to save data entered into the form. Usage rights need to stay.
Thanks, and please let me know if you have any questions.
Current code:
string imageFileName = pathsig + "[login to view URL]";
var imageStream = new FileStream(imageFileName, [login to view URL]);
PdfContentByte pdfContentByte = [login to view URL](1);
[login to view URL] image = [login to view URL](imageStream);
[login to view URL](600, 500);
[login to view URL](image);
[login to view URL]();
Dear Employer,
I don't wanna waste your time, telling a big stories about my achievements. I just kindly ask you check my name on google - Tamás Burcs, you can find all the details about me, my projects and professional attitude.
Kind Regards,
Tamás Burcs
Hi,
I am a web developer having more than 9 years of experience in developing web applications using asp.net and C#.
I would be able to fix your problem.
Please message me to provide more details