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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to autofit columns in xamarin ios xlsio portable?

Thread ID:





130797 Jun 3,2017 05:27 AM UTC Jun 8,2017 12:22 PM UTC Xamarin.iOS 3
Tags: XlsIO
Balasubramanian Ramanathan
Asked On June 3, 2017 10:53 AM UTC

Hi,I would like to autoresize the columns of excel cell to fit the content.How do i achieve with xamarin xlsio portable?I tried this  Syncfusion.XlsIO.Implementation.RangeImpl rangeImpl = worksheet.UsedRange as Syncfusion.XlsIO.Implementation.RangeImpl;            rangeImpl.AutofitColumns();and it does not work...Thanks

Sridhar Sukumar [Syncfusion]
Replied On June 5, 2017 07:28 AM UTC

Hi Balasubramanian, 


Thank you for contacting Syncfusion support. 


We regret to let you know that currently we don’t have support for Autofit in portable library. 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 need any other assistance on this. 


Balasubramanian Ramanathan
Replied On June 7, 2017 04:51 AM UTC

Could you please give me an example on how to measure a string and set the column width?

Thank You

Sridhar Sukumar [Syncfusion]
Replied On June 8, 2017 12:22 PM UTC

Hi Balasubramanian, 
No, Excel cell string cant be measured individually. However, we are working on the feature “Need to provide support for Autofit in portable library and it will be implemented in 2017 Vol 3 release. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon