Change Border Line Color

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

Change Border Line Color

Postby Nicholas » 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?
Posts: 9
Joined: Tue Dec 28, 2010 1:16 am

Re: Change Border Line Color

Postby iceblue support » 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: 244
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 0 guests