Signature Position on page is incorrect

Hello,

I am trying to sign on a pdf document that that was converted with aspose.words to pdf the size of the signature is fine but the y of the signature is wrong, to sign the document I use this code:



//create PdfFileSignature object and bind input and output PDF files

PdfFileSignature pdfSign = new PdfFileSignature(“input.pdf”, “output.pdf”);

//create a rectangle for signature location

System.Drawing.Rectangle rect = new System.Drawing.Rectangle(100, 100, 200, 100);

//set signature appearance

pdfSign.SignatureAppearance = “butterfly.jpg”;

//create any of the three signature types

PKCS1 signature = new PKCS1(“test.pfx”, “password”); // PKCS#1 or

//PKCS7 signature = new PKCS7(“test.pfx”, “password”); // PKCS#7 or

//PKCS7Detached signature = new PKCS7Detached(“test.pfx”, “password”); // PKCS#7 detached

pdfSign.Sign(1, “Signature Reason”, “Contact”, “Location”, true, rect, signature);

//save output PDF file

pdfSign.Save();



the word file that I converted is attached to the message.

it seem like up is down and down is up, wired…



best regards,

Roei.

Hi Roei,


Thanks for contacting support.

I have tested the scenario using one of my sample signature and image file and I am unable to notice any issue. For your reference, I have also attached the resultant file generated over my end.

Can you please share your resource files, along with DOCX to PDF conversion output, so that we can again try replicating the issue in our environment. We are sorry for this inconvenience.