I am having an issue with SignHereTabs appearing out of place in a DocuSign document.
I use ITextSharp to take a PDF forms template with many fields, I set data into the fields leaving 2 signature fields named appropriately, I then use GetFieldPositions to obtain the location of the signature field and I locate the SignHereTab at these co-ordinates. However, in the final document from DocuSign, the tab is in the wrong place.
Here is my code to read the AcroField positions
var pdfReader = new PdfReader(pdfFilename);
var fieldPositions =pdfReader.AcroFields.GetFieldPositions("Signature");
var PageNumber = (int)fieldPositions[0];
var XPosition = (int)Math.Ceiling(fieldPositions[1]);
var YPosition = (int)(pageHeight - (fieldPositions[2] + fieldPositions[4])/2);
These are then added in the right place of the XML.
Example image is here http://i60.tinypic.com/sboizr.png
I'm unsure whether this is a problem with PDF, ITextSharp or DocuSign.