Hi 

I am using itext to add header information to a pdf file . Problem is when i am 
creating the new pdf file it is rotating by 90 degree .it is not happening with 
all pdf files . I have found in this forum to use pdfcopy to stop rotaion . But 
still it is rotating . I found that after assigning the pdf file ,
Dim psize As iTextSharp.text.Rectangle = reader.GetPageSizeWithRotation(1)
if i am checking psize.roation it is showing 90 for this perticular pdf file. 
other pdf file it is showing 0.

What to do to stop rotation ?

I tried to rotate the page while adding to PdfContentByte

cb.AddTemplate(page1, 1, 0, 0, 1, 0, 0)

but if i am changing teh values of a,b,c and d to 0,1,-1,0 , PDF file is 
creating empty.
Can you please help me to solve this issue?

Regards
Roshla

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to