PdfReader reader = new PdfReader(...);
PdfDictionary page = reader.getPageN(1);
page.put(PdfName.ROTATE, new PdfNumber(180));
PdfStamper stp = new PdfStamper(reader, ...);
stp.close();

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Shoaib Gauhar
> Sent: Monday, June 05, 2006 6:35 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Page Rotation
> 
> Hello
>    I read a mail a few days back in which one has told
> to add /ROTATE 180 info in the page dictionary. Can
> anyone please tell me that how do you get this page
> dictionary??? I have tried to get it and add values
> from PdfWriter.getInfo(), PdfWriter.getGroup() but it
> hasnt worked. 
> 
> Waiting for the reply,
> 
> Shoaib
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to