Dear Sir,
AutoFitColumns don't work when column include chinese string.
The following code open a xlsx and save after call autoFitColumns.
Aspose.Cells.Workbook workbook = new Workbook(@"D:\excelFitColumns.xlsx");
Worksheet worksheet = workbook.Worksheets[0];
AutoFitterOptions options = new AutoFitterOptions();
options.AutoFitMergedCells = true;
worksheet.AutoFitColumns(options);
workbook.Save(@"D:\excelFitColumns-out.xlsx");
I use the latest version of the Aspose.Cells (16.11.0.0).
Attach zip file contains excelFitColumns.xlsx and result file excelFitColumns-out.xlsx.
Thank for your help.