Skip to main content
Row

ColumnCollection.AutoFit Method

Name Parameters Description
AutoFit(Int32, Int32) first, last Adjusts the width of columns to accommodate cell content.
AutoFit(String, String) firstColumnHeading, lastColumnHeading Adjusts column widths to fit the cell content.