Hello iText team, I am applying a "watermark" (text) to an existing PDF document using the iText API. I have a problem document. This PDF document was created by "PDFScanLib v1.2.2 in Adobe Acrobat 7.0.8." The watermark text is applied to the document, but WAY off of the page.
Here is what Adobe Designer (xml view) has for the first character is the watermark: <subform name="P1" w="8.500in" h="14.000in"> <break before="pageArea" beforeTarget="#Page1"/> <draw name="T01" x="3.842in" y="320.898in" minW="0.312in" minH="0.312in"> <value> <text>T</text> </value> <ui> <textEdit> </textEdit> </ui> <para vAlign="middle"/> <font size="12.7pt" typeface="Helvetica"> <fill> <color value="255,0,0"/> </fill> </font> </draw> The y value is at 320.898 inches! This is WAY OFF. I am using the PDFStamper method of (based on the online example) to watermark the document. Using the iText API I've determined that the pages are LEGAL size. Further, I found this to be interesting (from PDFReader.getPageSize(i)): llx = 0.0 lly = 22584.0 urx = 612.0 ury = 23592.0 ury - lly = 1008!!! When I use Adobe Professional's View->Add Watermark & Background (source from text option) I can watermark this document. How can I adjust the lly and ury of the document? Or how can I move the text onto the page? Any help would be greatly appreciated. Best Regards, Chris Madison IBM Certified Application Architect Wireless e-business Services Practice Office/FAX: +1 704 719 2041 Mobile: +1 704 287 9084 e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/