Previous Document Next Document

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


EffectDropShadow.Color

Property Color As Color

Description

Member of EffectDropShadow

The Color property returns or specifies the Color object that represents the color of the drop shadow.

VBA example

The following VBA example changes the color of all drop shadows to red.

Sub Test()
 Dim s As Shape, eff As Effect
 For Each s In ActivePage.Shapes
  For Each eff In s.Effects
   If eff.Type = cdrDropShadow Then
    eff.DropShadow.Color.RGBAssign 255, 0, 0
   End If
  Next eff
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.