Thanks, but it doesn't tell how to use the parameter
of setMKRotation(int rotation) in the API
specification, is it a angle?  And after I call this
function, what else should I do? like this:  

PdfFormField pdfFF =
acroForm.addSingleLineTextField("name", "your name",
helv, fontSize, 171, 400, 350, 420);
pdfFF.setMKRotation(180);

Happy Halloween
Ben




 --- Paulo Soares <[EMAIL PROTECTED]> wrote: > You can
use PdfFormField.setMKRotation() but I admit
> that this should be done by iText.
> 
> Best Regards,
> Paulo Soares
> 
> --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote:
> > At 3:33 PM -0500 10/30/02, bin shi wrote:
> > >     I am using PdfAcroForm to create TextField,
> > >CheckBox and etc in PDF. when I create I a rotate
> > >document, like this:
> > >com.lowagie.text.Document pdfDocument = new
> > >com.lowagie.text.Document(PageSize.A4.rotate());,
> > >texts in all these fields show vertically.
> > 
> >     That is correct and documented behavior of
> Acrobat.
> > 
> > 
> > >How can I do to solve this problem?
> > >
> > 
> >     I gather you want the page rotated, but not the
> > fields.  You 
> > can't do that - BUT what you can do is also rotate
> > the fields.  I 
> > don't know offhand if iText supports it, but you
> > need to set the /R 
> > key on the fields.
> > 
> > 
> > Leonard
> > -- 
> >
>
---------------------------------------------------------------------------
> > Leonard Rosenthol                           
> > <mailto:leonardr@;pdfsages.com>
> > Chief Technical Officer                     
> > <http://www.pdfsages.com>
> > PDF Sages, Inc.                             
> > 215-629-3700 (voice)
> >                                              
> > 215-629-0789 (fax)
> > 
> > 
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by: Influence the
> > future 
> > of Java(TM) technology. Join the Java Community 
> > Process(SM) (JCP(SM)) program now. 
> >
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/ 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to