johniText wrote: > Hello thanks first. > > Could you please tell me how you found the " box size in the annotation > array is [104.25,13.87] and in the appearance is [50,25] ",
For instance with http://www.1t3xt.com/products/rups.php Or you can open the PDF in a text editor and look for the field objects and their appearance streams. Or you can use the methods described in chapter 15 and 18 of "iText in Action". > and more importantly > to me is, how to correctly set the box size so that the text is not > stretched ? Recreate the appearance. > I checked the iText Java API, it seems AcroFields.setField() is used to set > field value, not field properties such as font. > Thanks a lot, iText is sort of confusing to me at this stage of learning. > :-) Reading chapter 16 should take away the confusion. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
