Skip to main content

TdxSpreadSheetMergedCellList.CheckCell(Integer,Integer) Method

Returns the area of a merged cell to which the specified cell belongs.

Declaration

function CheckCell(ARow: Integer; AColumn: Integer): TRect;

Parameters

Name Type
ARow Integer
AColumn Integer

Returns

Type
TRect

Remarks

Call the CheckCell method to identify the merged cell within the Table View worksheet’s collection to which the inspected cell belongs. The ARow and AColumn parameters specify the indexes of the row and column in which the cell is hosted.

If the inspected cell does not belong to the area of a merged cell object within the current collection, the CheckCell method returns the cell’s own row and column indexes as both starting and ending points of the merged cell area.

Alternatively, you can use the overloaded variant of the ExpandArea function for the same purpose.

See Also