Previous Document Next Document

Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.Delete


ShapeRange.Delete

Sub Delete()

Description

Member of ShapeRange

The Delete method removes all shapes from a shape range (thereby emptying the range) and deletes them from the document.

VBA example

The following VBA example deletes all of the shapes from the active page.

Sub Test()
 ActivePage.Shapes.All.Delete
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.