Hi everyone!
I'm using iText to generate an rtf document and it works fine. I have some
problems in defining the borders of images... I used the same code as in the
"iText in Action" book:

Image jpg = Image.getInstance("foxdog.jpg");
jpg.setBorder(Image.BOX);
jpg.setBorderColor(new Color(0xFF, 0x00, 0x00));
jpg.setBorderWidth(5);

This code works fine when using a PdfWriter, but when using an RtfWriter2
class I don't get any border on my images. Anybody of you knows how to get
borders on rtf images?

Regards

MIK
-- 
View this message in context: 
http://www.nabble.com/Borders-of-images-in-rtf-documents-tf3376176.html#a9396016
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to