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.

Tue May 20, 2008 4:05 pm

Hi,

How do i set a column width?
I cant find any property on the component.

Thanks,

Martin

mgorlero
 
Posts: 2
Joined: Tue May 20, 2008 4:01 pm

Tue May 20, 2008 6:38 pm

Upss! found it...silly question sorry :(

Code: Select all
wsheet.Range["A1:B1"].ColumnWidth = 200;

mgorlero
 
Posts: 2
Joined: Tue May 20, 2008 4:01 pm

Return to Spire.XLS