Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.Delete |
Sub Delete()
Member of ShapeRange
The Delete method removes all shapes from a shape range (thereby emptying the range) and deletes them from the document.
The following VBA example deletes all of the shapes from the active page.
Sub Test() |
ActivePage.Shapes.All.Delete |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.