I have the following settings for converting Excel to PDF:
sh.PageSetup.Orientation = PageOrientationType.Landscape;
sh.PageSetup.PageSize = PageSizeType.Paper10x11;
sh.PageSetup.FitTPagesTall = 0;
sh.PageSetup.FitTPagesWide = 1;
// sh.AutoFitRows();
sh.AutoFitRows(true);
With the settings, all the rows are at same height and multiple-line cells with wrapped text are not shown properly as seen in the attachment. The original Excel file actually displays texts correctly.
Please advise how I can fix the issue . Thank you.
Row-height.jpg (8.2 KB)Row-height2.jpg (7.8 KB)