Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Line Text or addCell to a position #37

Open
GoogleCodeExporter opened this issue Oct 22, 2015 · 2 comments
Open

Multiple Line Text or addCell to a position #37

GoogleCodeExporter opened this issue Oct 22, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

@GhaziTriki GhaziTriki added Bug and removed Type-Defect labels Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants