Atish Roy wrote:
> Sorry about not mentioning the code there..
> 
> http://www.nabble.com/file/p17797408/GeneratePDF.java GeneratePDF.java 

*LOL*
You have written this code:

com.lowagie.text.Image loobImg =
   com.lowagie.text.Image.getInstance("C:\\IMG_1223.jpg");
loobImg.scalePercent(15);
loobImg.setAbsolutePosition(0,-80);
loobImg.setInverted(false);
loobImg.setRotation(-90);
cb.addImage(loobImg,100,100,100,-10,120,10);

and you are "surprised" that the image is rotated???

You defined a transformation that rotates and skews
the image in your addImage method. Do you have any
idea what the values 100, 100, 100, -10, 120, 10 mean?
How did you choose those values? If you had a reason
to define the rotation like that, then your question
is very funny. If you just 'picked some values at
random,' then your question is *CENSORED* (Replace
*CENSORED* with a word that was recently censored
on this list.)
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
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