Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Row.AutoFit() Method

Adjusts the row height to accommodate cell content.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

void AutoFit()

Remarks

To automatically fit the height of several rows to the content, use the RowCollection.AutoFit method.

To set the row height value in the required units of measurement, use the Row.Height property (see the How to: Specify Row Height or Column Width example).

See Also