TdxSpreadSheetTableView.CanInsertCells(TRect,TdxSpreadSheetCellsModification) Method
Identifies if it is possible to insert cells into the specified cell range.
Declaration
function CanInsertCells(AArea: TRect; const AModification: TdxSpreadSheetCellsModification): Boolean; overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AArea | TRect | A rectangle that corresponds to the target cell range. |
| AModification | TdxSpreadSheetCellsModification | Enumerates options that define how cell insert and delete operations affect adjacent cells. |
Returns
| Type | Description |
|---|---|
| Boolean | True if it is possible to insert cells into the specified cell range; otherwise, False. |
Remarks
The CanInsertCells function returns True if an intended cell insert operation does not affect an array formula result area; otherwise, False.
See Also