Hi,
I am trying to insert multiple tables into a document using Tables.insert(), but these tables appear as single a table. Can anyone tell me how to insert breaks between tables.
Thanks
Rinki
Hi,
I am trying to insert multiple tables into a document using Tables.insert(), but these tables appear as single a table. Can anyone tell me how to insert breaks between tables.
Thanks
Rinki
Hey Rinki,
Basically, the insertion of a paragraph break between tables is enought o separate them, so you can insert an empty paragraph node:
Paragraphs.Add(new Paragraph(doc));
But consider the use of the DocumentBuilder object as it allows to build a document dynamically in an easier manner than inserting nodes "manually". In this case, call the DocumentBuilder.Writeln method to insert a paragraph break between tables.