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