API Documentation > CorelDRAW > 2025-v26 > Effect > IVGEffect
Effect.Contour property
Gets the contour effect for the object
Syntax:
Property Get Contour() As EffectContour
Remarks:
The Contour property returns the EffectContour object for the contour effect.
Examples:
The following VBA example determines if a contour effect is applied to the selected shape. If so, it changes the type of color blend and the direction of the contour.
Sub Test()
Dim e As Effect
For Each e In ActiveShape.Effects
  If e.Type = cdrContour Then

 e.Contour.Direction = cdrContourOutside

 e.Contour.ColorBlendType = cdrRainbowCWFountainFillBlend

 Exit For
  End If
Next e 
End Sub