I am using this code to flatten the pdf.There is a form field named "DBA_Name".This is multiline.It is vertically bottom aligned.But after flatten the pdf,it is getting top aligned. I have no idea why it is showing this behaviour as it should be bottom aligned. My Code is-
PdfReader readerFlat = new PdfReader(inputFilePath);
FileOutputStream foutFlat = null;
PdfStamper stamperFlat = null;
foutFlat = new FileOutputStream(outputFilePath);
stamperFlat = new PdfStamper(readerFlat, foutFlat);
stamperFlat.setFormFlattening(true);
stamperFlat.close();
The link for the PDF is http://www.mediafire.com/download/5ccqjvg4676h0j2/Test.pdf
Thanks in advance.