We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Creating borders

HI,

I want to create and remove borders in excel , pls help me

Thanks,

Mukund


This message was posted using Aspose.Live 2 Forum

Hi Mukund,

Please check the following link for required information http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/adding-borders-to-cells.html

In case you need to remove the border, set LineStyle for Border to None, as given below

//Setting the style of the top border to None


cell.Style.Borders[BorderType.TopBorder].LineStyle = CellBorderType.None;