Free Support Forum -

Justify truncating words


I am using Aspose.Cells for .Net

Attached is the workbook used to generate the screen-shots (also attached).

On Worksheet "Officer" the text is set to Justify.

Exporting this sheet via the SheetRender object produces the Result.jpg,

which has text cut off through wrapping/justifying.


I have generated the attached Tiff file with my below source code using the latest fix version of Aspose.Cells for .NET

If this attached image is not as per your requirement then please share your piece of source code that you are using to export the worksheet.

C# Code

Aspose.Cells.Workbook book = new Aspose.Cells.Workbook(“C:\temp\Close+Corporation+Financials.xlsx”);

Aspose.Cells.Worksheet sheet = book.Worksheets[“Officer”];

Aspose.Cells.Rendering.ImageOrPrintOptions options = new Aspose.Cells.Rendering.ImageOrPrintOptions()


ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff,

TiffCompression = Aspose.Cells.Rendering.TiffCompression.CompressionLZW


Aspose.Cells.Rendering.SheetRender sheetRender = new Aspose.Cells.Rendering.SheetRender(sheet, options);