mesaglam / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

Multiple Line Text or addCell to a position #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to add a multiple Line Text => a text which is in a TextArea to a
special postieion. With addText I can put oneline-text to the position und
with addCell I have multilines but no variable position. Is there a solution?

Original issue reported on code.google.com by isabelma...@googlemail.com on 3 Apr 2008 at 9:12

GoogleCodeExporter commented 9 years ago
I'm looking for the solution to the same problem. How can I set position and 
size for
diferents text boxes?

Original comment by che...@gmail.com on 12 May 2010 at 6:38

Attachments:

GoogleCodeExporter commented 9 years ago
Before using addCell, you shoud position it with setX and setY.
For example:

pdfDoc.setY(pdfDoc.getY() + 2); // Vertical positioning
pdfDoc.setX(pdfDoc.getX() + 10); // Horizontal positioning
pdfDoc.addCell(32, 0, mytext,0,0,"C");

Original comment by jairofra...@gmail.com on 11 Jan 2011 at 3:47