Re: [iText-questions] Help positioning text

2009-07-06 Thread Iliadis Yannis
.sourceforge.net > > Subject: [iText-questions] Help positioning text > > > > Hi, I have been trying to use iText to create pdf based on > > x-y positions that I've stored. I've tried this > > > > int x = 100, y = 150; > > String text = &q

Re: [iText-questions] Help positioning text

2009-07-06 Thread Paulo Soares
Use ColumnText. Paulo > -Original Message- > From: bright [mailto:kelvin...@gmail.com] > Sent: Monday, July 06, 2009 9:56 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Help positioning text > > Hi, I have been trying to use iText t

[iText-questions] Help positioning text

2009-07-06 Thread bright
Hi, I have been trying to use iText to create pdf based on x-y positions that I've stored. I've tried this int x = 100, y = 150; String text = "Sample String\nMore String\nLast String"; PdfContentByte cb = writer.getDirectContent(); BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFon