TXlsFile.CellMergedBounds Method
Merged Range where the cell is.
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.CellMergedBounds(const row: Integer; const col: Integer): TXlsCellRange; override;
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.