Previous Document Next Document
ShapeRange.RemoveFromSelection

Sub RemoveFromSelection()

Member of ShapeRange

The RemoveFromSelection method deselects any shape in the specified range.

The following code example removes all of the rectangles from the current selection:

Sub Test() 
 ActivePage.FindShapes(Type:=cdrRectangleShape).RemoveFromSelectio
n 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.