HotXLS Docs

DeleteInRange method

Deletes shapes that fall within the specified cell range boundaries and returns the count of deleted shapes

Syntax

function DeleteInRange(ARow1, ACol1, ARow2, ACol2: Integer): Integer;

Example

This example deletes shapes in the range A1:D10

DeletedCount := Workbook.Sheets[1].Shapes.DeleteInRange(1, 1, 10, 4);