Open GoogleCodeExporter opened 9 years ago
I have the same issue in 1.5
I'm using addImageStream(), and image is shifted down and right
All other stuff I'm using are positioned like it should
As a unit in pdf using Unit.POINT
myPDF = new PDF ( Orientation.PORTRAIT, Unit.POINT, Size.A4);
Original comment by my.madz....@gmail.com
on 6 May 2010 at 8:11
Possible solution
myPDF.setMargins(0,0);
After I've done that, looks like image is position like it should
Strange that other features like drawRect is positioned ok anyway
Original comment by my.madz....@gmail.com
on 6 May 2010 at 8:30
Hi,
Yes, since 1.5, the image API's (addImage, addImageStream, etc.) respect the
margin
value. Just call setMargins yes, and set it to 0 if you want to reproduce the
former
behavior.
best,
Thibault
Original comment by thibault.imbert
on 9 May 2010 at 4:00
Original issue reported on code.google.com by
chris.fa...@gmail.com
on 16 Apr 2010 at 4:01