Previous Document Next Document

Object Model Reference : Classes : D : Document : Methods : Document.ClearSelection


Document.ClearSelection

Sub ClearSelection()

Description

Member of Document

The ClearSelection method deselects any selected objects.

VBA example

The following VBA example creates a text object and then deselects it:

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.