Previous Document Next Document
Effect.Blend

Property Blend As EffectBlend

Member of Effect

The Blend property returns the EffectBlend object for the blend effect.

The Blend property returns a read-only value.

The following code example determines whether a blend effect has been applied to the selected shape. If so, it changes the number of blend steps to three.

Sub Test() 
 Dim e As Effect 
 For Each e In ActiveShape.Effects 
  If e.Type = cdrBlend Then 
   e.Blend.Steps = 3 
   Exit For 
  End If 
 Next e 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.