Hi all,
Is there an easy way to insert a row of images in an RTF document without
specifying the absolute position ? When using the add method, each image
is placed in a new row. Is there a way to insert images one after the
other, and have them automatically go to the next row in case there is not
enough place on the row ?
thanks,
matt-
the code I use looks like
Document document = new Document();
...
RtfWriter.getInstance(document, fileOutputStream);
...
for (String SCImage : SCImages)
{
Image jpegSC = Image.getInstance(SCImage);
jpegSC.scaleAbsolute(256.f,
jpegSC.getHeight()*256.f/jpegSC.getWidth() );
document.add(jpegSC);
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php