Previous Document Next Document

Object Model Reference : Classes : E : EffectDropShadow : Properties : EffectDropShadow.Fade


EffectDropShadow.Fade

Property Fade As Long

Description

Member of EffectDropShadow

The Fade property returns or specifies the fading of a perspective drop shadow. Values range from 0% to 100%.

VBA example

The following VBA example sets the fading of every perspective shadow to 80%.

Sub Test()
 Dim s As Shape, ds As EffectDropShadow
 For Each s In ActivePage.Shapes
  If s.Type = cdrDropShadowGroupShape Then
   Set ds = s.Effect.DropShadow
   If ds.Type <> cdrDropShadowFlat Then
    ds.Opacity = 100
    ds.Fade = 80
   End If
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.