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

Definition for Body doen''t exist in section

Thread ID:





68839 Oct 3,2007 08:24 AM UTC Oct 20,2007 11:40 AM UTC ASP.NET Web Forms (Classic) 1
Tags: DocIO
Asked On October 3, 2007 08:24 AM UTC

I find this sample code on your website
in Tables samples section.

IWTable table = section.Body.AddTable();

When I try to use it there is an error message( in french):'Syncfusion.DocIO.DLS.IWSection' ne contient pas de définition pour 'Body'
('Syncfusion.DocIO.DLS.IWSection' doen't contains a definition for 'Body')

I will appreciate if you can help me about that.

Thank you!

Saravanan A [Syncfusion]
Replied On October 20, 2007 11:40 AM UTC

Hi Franck,

On seeing your query it seems that you are using the Essential DocIO version older than 5.2. If so, then you have to use the following code to add a table.

//Adding a paragraph to the section.
IWParagraph paragraph = section.AddParagraph();
ITable table = paragraph.AppendTable();

In the latest version (5.2) we have improved our current object model for better usability and functionality, however there are some breaking changes in APIs. We have moved the table from Paragraph to Body. Please refer to this document for a detailed list of changes:
http://www.syncfusion.com/Product/uploads/DocIO APIchanges_f9afbe8a.pdf

Let us 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