Back to Devexpress

Row.AutoFit() Method

officefileapi-devexpress-dot-spreadsheet-dot-row-e3d8a854.md

latest1.8 KB
Original Source

Row.AutoFit() Method

Adjusts the row height to accommodate cell content.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void AutoFit()
vb
Sub 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

Height

DefaultRowHeight

How to: Specify Row Height or Column Width

Rows and Columns in Spreadsheet Documents

Row Interface

Row Members

DevExpress.Spreadsheet Namespace