Previous Document Next Document

Object Model Reference : Classes : E : Effects : Properties : Effects.Count


Effects.Count

Property Count As Long

Description

Member of Effects

The Count property returns the number of effects in the Effects collection.

The Count property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.