Free Support Forum - aspose.com

Problem with Aspose.Cells Line Break and Text Wrapping to generate a pdf file

Hi, I am using the Aspose.Cells component (version 5.3.3.0), but got a problem with Line Break and Text Wrapping to generate a pdf file.

I found this article (http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/line-break-and-text-wrapping.html), but the property Aspose.Cells.Style.IsTextWrapped doesn’t exist in version 5.3.3.0.

I used the version 5.1.2.0 to test, and problem doesn't exist.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

The version 5.1.2.0 has some problems with graphics, so I have to use the other version.

Thank you so much

Hi,


The property does exist in the new versions. Please try the attached latest version/fix v6.0.1.3.

Code segment:
//…
Aspose.Cells.Cell cell = worksheet.Cells[0, 0];
cell.PutValue(stringValue);
Aspose.Cells.Style style = cell.GetStyle();
style.IsTextWrapped = true;
cell.SetStyle(style);

If you still find any issue, please paste your sample code and template files to reproduce the issue, we will check it soon.

Thank you.

Hi,

The latest version fixed the problem with Line Break and Text Wrapping, but has a problem with charts.

The chart's series stay with background white.

Thanks

Hi,


For chart issue, please post your input Excel file and output PDF file to show the issue, we will check your issue soon.

Thank you.