Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Small error in tutorial

Lars Vogel

2007-06-18

Replies:

Hello,

I believe their is a tiny error in the TwoOnOne tutorial. I hope this is the
right way of reporting this.

http://itext.ugent.be/library/com/lowagie/examples/general/copystamp/TwoOnOne.java

       float width = psize.getHeight();
       float height = psize.getWidth();

should in my opinion be replaced with:

float width = psize.height();
float height = psize.width();

I seem that the getter methods do not exists in iText 2.0.1.

Best regards, Lars




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.