We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Insertion of tables

Thread ID:





78673 Dec 23,2008 10:55 AM UTC Dec 24,2008 11:30 AM UTC WinForms 3
Tags: DocIO
Pedro Coutinho
Asked On December 23, 2008 10:55 AM UTC

Hi, I have downloaded your new version and I don't have de paragraph.appendTable() method. How can I append a table to a specific paragraph of the document?

Bhuvaneswari P [Syncfusion]
Replied On December 23, 2008 11:30 AM UTC

Hi Pedro,

Thank you for your interest in Syncfusion products.

We have moved table to body part from version We have mentioned this in our 5.2 release notes.

Please have a look into our 5.2 release notes to know about the changes:

Please refer to this document for a detailed list of changes:
http://www.syncfusion.com/Product/uploads/DocIO APIchanges_f9afbe8a.pdf.

New API to insert table into the document:

IWSection section = document.AddSection();
//Adding a new Table to the paragraph.
IWTable table = section.Body.AddTable()

Please let me know if you need any further details.

Best Regards,

Pedro Coutinho
Replied On December 23, 2008 12:10 PM UTC

Ok but now, i only can add a table to the end of a section. I have 20 paragraphs in a word template and I want to create a table dinamicaly. In version 5.x i can do that by raise the document.section(0).paragraphs(16).appendTable() and the table is created in paragraph 16. How can I do that with Body.addTable() - This append the table at the end of section?

Bhuvaneswari P [Syncfusion]
Replied On December 24, 2008 11:30 AM UTC

Hi Pedro,

Thanks for the update.

Adding the table at the end of the section is the behavior of MS word, so we have changed the behavior in DocIO also same like MS word. It is not possible to add the table in Paragraph. You can compare this with MS word behavior.

Please let me know if you need any further information.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon