Table of Contents

XlsFile.GetRowOptions Method

Returns all Row options at once (if the row is autosize, if it is hidden, etc).

Remarks

To get individual values, use the corresponding methods (i.e. ExcelFile.GetAutoRowHeight) Use this method only to copy the options from one row to another.

Syntax

Namespace: FlexCel.XlsAdapter

public override Int32 GetRowOptions(Int32 row)

Parameters

<-> Parameter Type Description
row Int32 Row Index (1 based)

Returns

Row options

Examples

To copy all the row options from row 1 to 2, use

    xls.SetRowOptions(2, xls.GetRowOptions(1));

This is faster and simpler than assigning each option alone.

See also