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.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.