I am generating a report consisting in a group of short fields, like Name,
Phone number, age, etc; but at the end I need to show a wider field of
commentaries (3 to 5 lines)
For the first short fields I am using function ShowTextAlignedKerned, to
print at specifics xy positions
To print the last and wide field, I planed to use a paragraph print, like
this:
prg = New Paragraph(text)
prg.SpacingBefore = spb, where spb is the vertical position of the
paragraph.
When spb is something like 350 to 368, all goes ok, but when spb is
something like 412 or more, I receive the error "unbalanced begin/end text
operators"
1. What are the rules for the spacingbefore parameter?
2. Is there another way to print the commentary field at the end of the
document?
3. How can I solve this situation?
4. And finally, how can I read the actual vertical position of the cursor
after printing the paragraph?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php