Previous Document Next Document
Document.ClearSelection

Sub ClearSelection()

Member of Document

The ClearSelection method de-selects any selected objects.

The following code example creates a text object and then de-selects it:

Sub Test() 
 ActiveLayer.CreateArtisticText 0, 0, "Text string" 
 ActiveDocument.ClearSelection 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.