API Documentation > CorelDRAW > 2025-v26 > EffectContour > IVGEffectContour
EffectContour.FillColorTo property
Gets or sets the contour fill-to color
Syntax:
Property Get FillColorTo() As Color
Property Set FillColorTo(ByVal Value As Color)
Remarks:
The FillColorTo property returns or specifies the ending color of a fountain fill for the last contour shape.
Examples:
The following VBA example creates a contour with a color transition in the fountain fill.
Sub Test()
Dim s As Shape
Set s = ActiveLayer.CreateEllipse2(4.25, 5.5, 2)
s.Fill.ApplyFountainFill CreateCMYKColor(100, 0, 0, 0), CreateCMYKColor(0, 0, 100, 0)
s.Outline.SetProperties 0.02, , CreateCMYKColor(0, 0, 100, 0)
With s.CreateContour(cdrContourOutside, 0.1, 20).Contour
  .FillColor.CMYKAssign 0, 0, 100, 0
  .FillColorTo.CMYKAssign 0, 100, 100, 0
  .OutlineColor.CMYKAssign 100, 0, 100, 0
End With 
End Sub