Previous Document Next Document
Effect.Contour

Property Contour As EffectContour

Member of Effect

The Contour property returns the EffectContour object for the contour effect.

The Contour property returns a read-only value.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.