Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
544
Set cell size to AutoSize
posted

Hi there, 

 I am using Infragistics.Excel.WorksheetCell and Infragistics.Excel.Worksheet to create an Excel file which is filled with some values and then saved to disk. I have trouble to find/set a property which will enable cell to autosize automatically to their content (I've tried by setting ShrinkToFit property on CellFormat property of individual Column or WorksheetCell to ExcelDefaultableBoolean.False as well as WrapText, but to no avail). Is there a way to size cell to its contents (without changing font size).

 Best regards.