Previous Document Next Document

Object Model Reference : Classes : E : EffectBlend : Properties : EffectBlend.EndShape


EffectBlend.EndShape

Property EndShape As Shape

Description

Member of EffectBlend

The EndShape property returns or specifies the end shape for a blend effect.

VBA example

The following VBA example changes all blends to progress from yellow to green by changing the fills of the control shapes.

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 2013 Corel Corporation. All rights reserved.