API Documentation > CorelDRAW > 2025-v26 > EffectContour > IVGEffectContour
EffectContour.ColorBlendType property
Gets or sets the color blend type
Syntax:
Property Get ColorBlendType() As cdrFountainFillBlendType
Property Let ColorBlendType(ByVal Value As cdrFountainFillBlendType)
Remarks:
The ColorBlendType property returns or set the mode of the color blend of a fountain fill in a contour effect. The ColorBlendType property returns cdrFountainFillBlendType.
Examples:
The following VBA example changes all clockwise rainbow-colored transitions to counterclockwise in contour effects.
Sub Test()
Dim s As Shape, eff As Effect
For Each s In ActivePage.Shapes
  For Each eff In s.Effects

 If eff.Type = cdrContour Then


If eff.Contour.ColorBlendType = cdrRainbowCWFountainFillBlend Then


  eff.Contour.ColorBlendType = cdrRainbowCCWFountainFillBlend


End If

 End If
  Next eff
Next s 
End Sub