We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Make columns wider

We have some columns with 50 characters of data in them. To see the whole column on the screen or in a print preview, you have to double click on the right border between columns. Is there a way to tell Aspose.Cells for .NET to show the column completely expanded?

Found it! Worksheet.AutoFitColumns().


Good, And you may also use Worksheet.AutoFitColumn(columnIndex) to auto-fit a specific column for your need. Performance wise, it will be better to use it if you only need to auto-fit a column only / very few columns in your worksheet.

Thank you.