Object Model Reference : Classes : D : Document : Methods : Document.ClearSelection |
Sub ClearSelection()
Member of Document
The ClearSelection method deselects any selected objects.
The following VBA example creates a text object and then deselects it:
Sub Test() |
ActiveLayer.CreateArtisticText 0, 0, "Text string" |
ActiveDocument.ClearSelection |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.