Object Model Reference : Classes : E : Effects : Properties : Effects.Count |
Property Count As Long
Member of Effects
The Count property returns the number of effects in the Effects collection.
The Count property returns a read-only value.
The following VBA example selects the first shape to which an effect is applied.
Sub Test() |
Dim s As Shape |
For Each s In ActivePage.Shapes |
If s.Effects.Count <> 0 Then |
s.CreateSelection |
Exit For |
End If |
Next s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.