Table of Contents

TExcelFile.GetKeepColsTogether Method

Returns the value of level for a column as set in 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

Unit: FlexCel.Core

function TExcelFile.GetKeepColsTogether(const col: Integer): Integer; virtual; abstract;

Parameters

<-> Parameter Type Description
const col Integer Column index. (1 based)

Returns

The Keep together level of the column.

See also