Previous Document Next Document

Object Model Reference : Classes : E : Effect : Properties : Effect.DropShadow


Effect.DropShadow

Property DropShadow As EffectDropShadow

Description

Member of Effect

The DropShadow property returns EffectDropShadow for the drop-shadow effect.

The DropShadow property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.