TExcelFile.SetAutoRowHeight Method
Sets the current row to automatically autosize to the biggest cell or not.
Remarks
By default, Excel rows auto adapt their size to the font size. If you set the row height manually, it will remain fixed to this size until you set AutoFit (Menu->Format->Row->AutoFit) back.
Syntax
Unit: FlexCel.Core
procedure TExcelFile.SetAutoRowHeight(const row: Integer; const autoRowHeight: Boolean); virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | row | Integer | Row index (1-based) |
const | autoRowHeight | Boolean | If true, row will have autofit. |