Frank Starsinic wrote: > I have a one page PDF with many fields. A few of the fields can accept > multiple lines of text. > When the form is populated, however, the text is vertically aligned in > the middle and extends beyond the end of the > of the form field boundries. Is there an iText solution that will > enable word wrap and force the > text to be aligned at the top instead of the center of this multi-line > field?
(1) Are you sure the field is a multiline field? Because iText tries to wrap lines when adding text to a multiline field. (2) Maybe you can use setExtraMargin() to change the offset. I don't think there is a method to change the margin of selected fields though: if you set extra margins, it applies to all fields. br, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
