Does Spire .XLS support Excel autofit?

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

Does Spire .XLS support Excel autofit?

Postby moonsky » Thu Dec 30, 2010 3:02 am

Hello,
I didn't find Excel autofit in the features of the Spire .XLS. Does it support Excel autofit?
THANKS!
moonsky
 
Posts: 9
Joined: Mon Dec 13, 2010 7:39 am

Re: Does Spire .XLS support Excel autofit?

Postby iceblue support » Thu Dec 30, 2010 10:04 am

Thank you for inquiry.
The Spire .XLS supports Excel autofit. As Excel autofit is basic function, we didn’t take it into the features of the Spire .XLS. If you want to do so, you can follow the codes:
sheet.AutoFitColumn(0);
sheet.AutoFitColumn(1);
sheet.AutoFitRow(0);
sheet.AutoFitRow(1);
sheet.Columns[0].ColumnWidth = 3;
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

cron