Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.SelectionInfo


Document.SelectionInfo

Property SelectionInfo As SelectionInfo

Description

Member of Document

The SelectionInfo property returns a SelectionInfo object.

The SelectionInfo property returns a read-only value.

VBA example

The following VBA example displays the number of objects which are currently selected.

Sub Test()
 MsgBox "There are currently " & ActiveDocument.SelectionInfo.Count & _
  " objects selected."
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.