XlsFile.GetKeepColsTogether Method
Returns the value of level for a column as set in ExcelFile.KeepColsTogether. Note that the last value of a "keep together" range is 0. For example, if you set KeepColsTogether(1, 3, 8, true); GetKeepColsTogether will return 8 for columns 1 and 2, and 0 for column 3.
Syntax
Namespace: FlexCel.XlsAdapter
public override Int32 GetKeepColsTogether(Int32 col)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
col | Int32 | Column index. (1 based) |
Returns
The Keep together level of the column.