Is this a bug or wrong code?

---

Image img = Image.getInstance("c:\\itext_logo.png");
                        
img.scaleToFit(100, 40);
                        
ct.showTextAligned(content, Element.ALIGN_CENTER, new Phrase(new Chunk(img, 0,
0)), 421f, 300f, 0);

---

Regards,
Andreas

<<attachment: Image_Chunk.jpg>>

<<attachment: itext_logo.png>>

Attachment: Image_Chunk.pdf
Description: Adobe PDF document

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

Reply via email to