Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

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