Re: [iText-questions] Borders of images in rtf documents

2007-03-11 Thread mik1982
Thanks for the information. How can I add a border to an image using the Java API? Mark M. Hall wrote: > > On Friday 09 March 2007 15:10, mik1982 wrote: >> This code works fine when using a PdfWriter, but when using an RtfWriter2 >> class I don't get any border on my

[iText-questions] Borders of images in rtf documents

2007-03-09 Thread mik1982
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, 0x