Object Model Reference : Classes : E : Effect : Properties : Effect.DropShadow |
Property DropShadow As EffectDropShadow
Member of Effect
The DropShadow property returns EffectDropShadow for the drop-shadow effect.
The DropShadow property returns a read-only value.
The following VBA example changes properties of the drop shadow applied to the active shape.
Sub Test() |
Dim e As Effect |
For Each e In ActiveShape.Effects |
If e.Type = cdrDropShadow Then |
e.DropShadow.Color.RGBAssign 255, 0, 0 |
e.DropShadow.Feather = 30 |
End If |
Next e |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.