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

Free Support Forum - aspose.com

Autofit -- row/columns not fitting properly

AutoFitRows() and AutoFitColumns() producing cells with cutoff text (both horizontally and vertically) when using the following code. Is there a known bug for this? We are using licensed version Thanks.

Worksheet ws = wb.Worksheets.Add(pn);
page.Render(ws, wb);
ws.PageSetup.FitToPagesWide = 1;
ws.PageSetup.PaperSize = PaperSizeType.PaperLetter;

This message was posted using Page2Forum from Support - Aspose.Cells for .NET and Java


Since you are using some older version of Aspose.Cells for .NET and I am not sure if there is any issue with related AutoFitRows and AutoFitColumns. But, you may try our latest version/fix, e.g.., try 4.5.1: http://www.aspose.com/community/files/51/file-format-components/aspose.cells/entry145662.aspx

If you still find any issue, kindly let us know with all your details (e.g.., template file, sample code etc.) and we will check it soon.

Thank you.