Hello,
I to scale and rotate a picture so that it fits inside a document page.
To do this i issue a
com.lowagie.text.Rectangle originalSize =
document.getPageSize();
and then i use originalSize's width / height / border width / border
height to get the 'drawable' part of the page. However it does seems to
not take into account the document's margins. As a result, it tries to
fit the whole page instead of the inside area.
Question is, how do i take into account margin when calculating the
'text' area of a page (that is the page minus margin, minus borders)?
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions