Set space between lines in pdfptable

I am using iTextSharp to create pdf.

Is it possible to provide space between lines in pdfptable?

+4
source share
1 answer

For this you need to use table events.

Java example: http://itextpdf.com/examples/iia.php?id=95

C # example: http://kuujinbo.info/iTextInAction2Ed/index.aspx?ch=Chapter05&ex=PressPreviews

Please note that I made the assumption that you want the gap between the cells (instead of filling the cells) to be similar to what you can see here: http://examples.itextpdf.com/results/part1/chapter05/press_previews. pdf

+4
source

Source: https://habr.com/ru/post/1444305/


All Articles