On 7/12/2012 19:26, Andreas Meyer wrote: > Is this a bug or wrong code? ct.showTextAligned(...) is misleading. It should be ColumnText.showTextAligned(...); This is a method that offers a short-cut for people who don't want to create a ColumnText object defining a simple column, etc... In this case, iText will create a simple column in your place. That's what happens in your code: iText creates a column with a height that is much smaller than 40pt and that's what scaling down the image. This isn't something we'll fix. You should create a ColumnText object, define a simple column, and invoke go();
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
