I need to create a document where the first line in the document is a table. I cannot see a way to remove the first paragraph in the document so I end up with a extra blank line at the start of the document.
I tried to add the table and then go back tot he first paragraph to remove it but there does not appear to be a method to enable this.
SKSathish K Syncfusion Team February 12, 2014 11:52 AM UTC
Thank you for your interest in
We have prepared a sample to illustrate
how to remove the paragraph preserved in the first line of the document. Please
do find the attached sample. You can also avoid this paragraph preservation by
defining a new section with the code “IWSection section = document.AddSection()”
instead of using document.EnsureMinimal() method.
Please let us know if you have any other