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.

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