API Documentation
>
CorelDRAW
>
2025-v26
>
ShapeRange
>
IVGShapeRange
ShapeRange.Delete method
Deletes a shape in a range
Syntax:
Sub
Delete
(
)
Remarks:
The
Delete
method removes all shapes from a shape range (thereby emptying the range) and deletes them from the document.
Examples:
The following VBA example deletes all of the shapes from the active page.
Sub Test() ActivePage.Shapes.All.Delete End Sub