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

Borderless table

Thread ID:





75276 Jul 18,2008 01:42 PM UTC Jul 30,2008 04:25 AM UTC WinForms 5
Tags: PDF
Dennis van der Stelt
Asked On July 18, 2008 01:42 PM UTC

Simple question, how do I create a borderless table?


Sri Subhashini M [Syncfusion]
Replied On July 21, 2008 04:52 AM UTC


Thank you for your interest in Essential PDF.

We can create borderless table by assigning the cell color as white. Kindly use the below code snippet to create borderless table.

// Creating pen style
PdfPen borderPen = new PdfPen(Color.White);
// Assigning the cell style as penstyle
PdfCellStyle defStyle = new PdfCellStyle();
defStyle.BorderPen = borderPen;
// Assigning the penstyle as default
table.Style.DefaultStyle = defStyle;

Please look into the below sample from the specified location and let me know if this helps.


Dennis van der Stelt
Replied On July 25, 2008 07:13 AM UTC

That's not really a solution, it's a work-around! I'm loading a .jpg in the background which has a white/green background. So I now have to make sure the tables aren't drawn over the green background or you'll see white borders.

Sri Subhashini M [Syncfusion]
Replied On July 25, 2008 12:05 PM UTC


Sorry for the inconvenience caused.

Table Border`s Transparent color is not working properly.

The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.

Thanks for your patience.


Sri Subhashini M [Syncfusion]
Replied On July 29, 2008 10:15 AM UTC

Hi Dennis,

Sorry for the delay in getting back with you.

Could you please try to set the BorderPen as Transparent color in order to draw borderless table. Kindly look into the code snippet to draw the border less table,

PdfCellStyle style = new PdfCellStyle();
style.BorderPen = new PdfPen(PdfBrushes.Transparent);
table2.Style.DefaultStyle = style;

Please look into the sample and let me know if this helps,


Sri Subhashini M [Syncfusion]
Replied On July 30, 2008 04:25 AM UTC

Hi Dennis,

Table Border`s Transparent color is not working properly.

This mentioned issue has been fixed. The fix for this defect is available in our next week Development build.

Please refer to the below link for the weekly development build updates.



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

or the page will be automatically redirected to 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