Re: [iText-questions] RtfWriter2 and image scaling

2006-03-10 Thread Mark Hall
On Thursday 09 March 2006 17:08, Antoine wrote: > I want to scale down an image for it to fit into the header of the page. > It works fine with RtfWriter using image.scalePercent(...) or > scaleAbsolute(...), but the same technique doesn't work when I use > RtfWriter2 instead. What version of iText

[iText-questions] RtfWriter2 and image scaling

2006-03-10 Thread Antoine
Hi, I want to scale down an image for it to fit into the header of the page. It works fine with RtfWriter using image.scalePercent(...) or scaleAbsolute(...), but the same technique doesn't work when I use RtfWriter2 instead. Here is a sample code for a 50% reduction of the image : Image img = I