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. Image for the cookie policy date

Collapsing borders

Is there an equivlent of css's border-collapse property for the Syncfusion.Pdf.Preview.Table object?

1 Reply

MW Melba Winshia Syncfusion Team June 11, 2007 09:31 AM UTC

Hi Jeffrey,

The border collapse property sets whether a table border should be collapsed into a single border or detached. You can achieve this by specifying CellSpacing property as zero. Please refer the following code snippet to achieve this:

[c#]

//Similar to css's border-collapse property
table.Properties.CellSpacing = 0;

Here is the sample for your reference:

http://websamples.syncfusion.com/samples/XlsIO.Windows/F62751/main.htm

Kindly take a look at the sample above and let me know if you have any other questions.

Thanks,
Melba

Loader.
Live Chat Icon For mobile
Up arrow icon