Skip to main content

TdxSpreadSheetTableView.CanInsertCells(string,TdxSpreadSheetCellsModification) Method

Identifies if it is possible to insert cells into the specified cell range.

Declaration

function CanInsertCells(const AArea: string; const AModification: TdxSpreadSheetCellsModification): Boolean; overload;

Parameters

Name Type Description
AArea string

A reference to the target cell range in the A1 format.

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