Previous Document Next Document
EffectBlend.StartShape

Property StartShape As Shape

Member of EffectBlend

The StartShape property returns or sets the starting shape for a blend effect.

The following code example changes all blends to progress from yellow to green by changing the control shapes’ fills:

Sub Test() 
 Dim s As Shape 
 For Each s In ActivePage.Shapes 
  If s.Type = cdrBlendGroupShape Then 
   s.Effect.Blend.StartShape.Fill.UniformColor.RGBAssign 255, 255, 
0 
   s.Effect.Blend.EndShape.Fill.UniformColor.RGBAssign 0, 128, 0 
  End If 
 Next s 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.