If it's anything like AffineTransform in Java, this version of ConcatCTM will 
be the easiest to use by a pretty wide margin:
 
public void ConcatCTM(System.Drawing.Drawing2D.Matrix transform)

Matrix foo = new Matrix();

foo.rotate(rotDegrees); // not radians

content.ConcatCTM(foo);

 

 
--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
 


________________________________

        From: Paulo Soares [mailto:[email protected]] 
        Sent: Tuesday, July 27, 2010 8:43 AM
        To: Post all your questions about iText here
        Subject: Re: [iText-questions] itextsharp text rotation
        
        
        No problem. Apply a transformation before writing to the 
PdfContentByte. Other options are possible. There are examples, look for 
concatCTM.
         
        Paulo


________________________________

                From: Shoaib Khalid [mailto:[email protected]] 
                Sent: Monday, July 26, 2010 6:24 AM
                To: [email protected]
                Subject: [iText-questions] itextsharp text rotation
                
                
                i want to rotate text during pdf creation be it in chunk or 
cell or any where i wnat that i should be able to rotate text to an degree i 
want like 45, 135, 90, 180, 270 etc.... 

        
________________________________

        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.
        

        

        No virus found in this incoming message.
        Checked by AVG - www.avg.com
        Version: 9.0.851 / Virus Database: 271.1.1/3009 - Release Date: 
07/23/10 11:36:00
        

        

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to