Hi Paulo,

i've changed my code that way:

      TextField tf = new TextField(documentWriter, new Rectangle(25,
600, 170, 620), "test");
      tf.setFont(bf);
      tf.setFontSize(12);
      tf.setText("test");
      tf.setBorderStyle(PdfBorderDictionary.STYLE_SOLID);
      tf.setBorderColor(Color.BLACK);
      tf.setBorderWidth(1);
      PdfFormField ff = tf.getTextField();
      documentWriter.addAnnotation(ff);

The format of the text field is as expected now, but the text still
appears in top to bottom direction (rotated by 90 degrees). What needs
to be changed to make it work?

Best regards,
Christian

On Tue, 2005-04-05 at 08:34 +0100, Paulo Soares wrote:
> Use TextField.
> 
> ----- Original Message ----- 
> From: "Christian Lauer" <[EMAIL PROTECTED]>
> To: "iText Mailing List" <[email protected]>
> Sent: Tuesday, April 05, 2005 6:07 AM
> Subject: [iText-questions] Problem with Acro Fields and rotated page format
> 
> 
> > I've tried to place an AcroField on a rotated page, which doesn't seem
> > to work. The text field in this case seems to be initially drawn at the
> > right place but if you like to edit the field the text is rendered
> > rotated by 90 degrees. I've attached a PDF document which illustrates
> > the effect plus the JAVA source code.
> > 
> > Best regards,
> > Christian
> > 
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to