table.Style.BorderPen = borderPen; table.Style.BorderPen = borderPen; table.Style.CellPadding = 2; table.Columns[1].Width = 12;
Please refer the following link for sample.
http://asp.syncfusion.com/demos/reporting/pdf/tables/northwindreport/cs/Default.aspx
Please let us know if you need further assistance.
With Regards,
Praveen
Border color |
Please refer the below code snippet to set the border color. We can able to set the style for all cell or alternative cells.
UG: https://help.syncfusion.com/file-formats/pdf/working-with-tables#cell-customization-in-pdflighttable
| |
Border width |
We can able to set the border width usingPdfPen. Please refer the below code snippet,
| |
Border style |
Please refer the below code to set the border style,
| |
Remove cell bottom border |
We could not able to remove particular cell or all cell bottom border usingPdfLightTable. But we can able to remove all the border. Please refer the below KB for more details,
However, this can be achieved by usingPdfGrid. Please refer the below UG documentation,
|