Object Model Reference : Classes : E : Effect : Properties : 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 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 |
Copyright 2013 Corel Corporation. All rights reserved.