FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.CellMergedBounds Property

When the cell at (aRow, aCol)is a merged cell, this method will return the first and last cell on the merged range.

Pascal
property CellMergedBounds [aRow, aCol: integer]: TXlsCellRange;
C++
__property TXlsCellRange CellMergedBounds[int aRow, aCol];
Parameters 
Description 
aRow 
Row of the cell (1 based) 
aCol 
Column of the cell (1 based) 

If the cell is not merged, this method will return the cell itself. 

 

 

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. 

 

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!