tf.setRotation(90)

----- Original Message ----- 
From: "Christian Lauer" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Cc: "iText Mailing List" <[email protected]>
Sent: Thursday, April 07, 2005 10:37 PM
Subject: Re: [iText-questions] Problem with Acro Fields and rotated
pageformat


> Is there really no way to make form fields be handled properly for
> rotated pages? I still haven't manged to fix that problem on my own.
>
> Does someone out there has any ideas?
>
> On Wed, 2005-04-06 at 00:22 +0200, Christian Lauer wrote:
> > 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