Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Wed Feb 23, 2011 7:50 am

I set border for one range of my Excel worksheet. I need to change the border color from black to blue and make the border line be more thicker. Can Spire.Doc support it?

Nicholas
 
Posts: 9
Joined: Tue Dec 28, 2010 1:16 am

Fri Mar 04, 2011 2:56 am

You can select the Range to set directly.
sheet.Range["B3"].Borders.Color = Color.Blue;
sheet.Range["B3"].Borders.LineStyle = LineStyleType.Thin;
e-iceblue support
User avatar

iceblue support
 
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS