Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetMergedCellList.DeleteItemsInArea(TRect,Boolean) Method

Removes all merged cell objects located within the specified Table View worksheet’s area.

#Declaration

Delphi
procedure DeleteItemsInArea(const AArea: TRect; AEnclosedItemsOnly: Boolean = True);

#Parameters

Name Type
AArea TRect
AEnclosedItemsOnly Boolean

#Remarks

Call this procedure to delete the merged cells within the boundaries passed as the AArea parameter.

The optional AEnclosedItemsOnly parameter allows you to specify whether the DeleteItemsInArea procedure deletes only those merged cells that are fully contained within the indicated bounds. If the AEnclosedItemsOnly parameter is set to False, even the merged cells intersected by the specified bounds, are deleted.

To delete all previously merged cells simultaneously, call the Clear procedure. You can also call the Delete procedure to remove a single specified item within the merged cell object collection.

Note

To add a new merged cell object to the current collection, invoke the Add procedure.

See Also