We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

no definition for 'AutofitColumns'

Hello.

I use "Syncfusion.XlsIO.Portable": "15.2120.0.40"

And I have an error with AutofitColumns method: 'IRange' does not contain a definition for 'AutofitColumns' and no extension method 'AutofitColumns' accepting a first argument of type 'IRange' could be found (are you missing a using directive or an assembly reference?

My code:
   worksheet.UsedRange.AutofitColumns();

What I'm doing wrong?





1 Reply

AV Abirami Varadharajan Syncfusion Team May 26, 2017 07:05 AM UTC

Hi Ivashko, 
 
Thank you for contacting Syncfusion support. 
 
Currently, we don’t have support for “Autofit in ASP.NET Core”. However, we have added it to our feature request list and it will be implemented in any of our upcoming releases. 
 
Please let us know if you have any concerns. 
 
Regards, 
Abirami. 


Loader.
Up arrow icon