how to show a table name

I am using version 4.4.

I have imported a few tables into a pdf file. Now I need to add a name for each table for visual convenience, please tell me how to do this. Thanks a lot!

1 Reply

AJ Ajish Syncfusion Team July 5, 2007 10:27 PM UTC

Hi Wen,

Essential Pdf does not have the ability to set name for a table. However in case if the table data is taken from a data table the table Name can be get/set using the following code

dsNorthWind.Tables[0].TableName

If the intension is just to provide a name to the table as a Header/ as a sub title it can be done using the DrawText(). The NorthWindReports sample demonstrates Essential PDF support for the inserting and formatting of ADO.Net tables into a pdf document. The sample also inserts a Table name in the Header section.

Kindly take a look and let me know if this helps.

Regards,
Ajish.

Loader.
Up arrow icon