I’m trying to so something I would have thought would have been very easy. I have worksheet and within that worksheet I want to select some cells and set the IsTextWrapped value to true.
I’ve tried this but it errors:
Range range = myWorkSheet_all.Cells.CreateRange(1, 65535, 1, 20);
Aspose.Cells.Style stl;
stl = workbook.Styles[workbook.Styles.Add()];
stl.IsTextWrapped = true;
StyleFlag flg = new StyleFlag();
range.ApplyStyle(stl, flg);
Thanks for your posting and using Aspose.Cells for .NET.
Are you using Client Profile .NET Framework? If that is the case, there is a separate dll. Please download it from major version link: Aspose.Cells for .NET 7.5.1
If you are using Client Profile .NET framework, please use the dll inside net3.5_ClientProfile directory.
If you are using Regular .NET Framework, please use the dll inside net2.0 directory.