Hi :-)
I don't know v5, but probably the same as the older versions?
e.g.
PdfPTable aTable = new PdfPTable(1);
aTable.setSpacingBefore(5f);
aTable.setSpacingAfter(10f);
Regards,
Matthew
-----Original Message-----
From: Anil Kumar [mailto:[email protected]]
Sent: 30 June 2010 08:16
To: [email protected]
Subject: [iText-questions] Spacing between Tables in iText5.0.2
Hello,
Iam using iText 5.0.2 version for my PDF generation.
There is no space between the tables by default. If i use
document.add(Chunk.NEWLINE); or
document.add(new Phrase(" "));
the spacing is more for my liking.
How can i control the space between tables ?
Pls help. Thanks in advance,
Anil.
This email was received from the INTERNET and scanned by the Government Secure
Intranet anti-virus service supplied by Cable&Wireless Worldwide in partnership
with MessageLabs. (CCTM Certificate Number 2009/09/0052.) In case of problems,
please call your organisation's IT Helpdesk.
Communications via the GSi may be automatically logged, monitored and/or
recorded for legal purposes.
Land Registry's House Price Index is now live. www.landregistry.gov.uk
If you have received this e-mail and it was not intended for you, please let us
know, and then delete it. Please treat our communications in confidence, as you
would expect us to treat yours. Land Registry checks all mail and attachments
for known viruses, however, you are advised that you open any attachments at
your own risk.
The original of this email was scanned for viruses by the Government Secure
Intranet virus scanning service supplied by Cable&Wireless Worldwide in
partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On
leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or
recorded for legal purposes.------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/