API Documentation > CorelDRAW > 2025-v26 > EffectContour > IVGEffectContour
EffectContour.OutlineColor property
Gets or sets the contour outline color
Syntax:
Property Get OutlineColor() As Color
Property Set OutlineColor(ByVal Value As Color)
Remarks:
The OutlineColor property returns or specifies the outline color of the last contour step.
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