Table of Contents

XlsFile.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

Namespace: FlexCel.XlsAdapter

public override void SetAutoRowHeight(Int32 row, Boolean autoRowHeight)

Parameters

<-> Parameter Type Description
row Int32 Row index (1-based)
autoRowHeight Boolean If true, row will have autofit.

See also