Table of Contents

TExcelFile.CellMergedBounds Method

Merged Range where the cell is.

Syntax

Unit: FlexCel.Core

function TExcelFile.CellMergedBounds(const row: Integer; const col: Integer): TXlsCellRange; virtual; abstract;

Parameters

<-> Parameter Type Description
const row Integer Row Index (1 based)
const col Integer Column Index (1 based)

Returns

The range where the cell is

Examples

If you have a merged cell in range A1: B2, calling CellMergedBounds on any of the cells: A1, B1, A2, B2 will return A1:B2.

See also