Previous Document Next Document

Object Model Reference : Classes : E : Effect : Properties : Effect.Contour


Effect.Contour

Property Contour As EffectContour

Description

Member of Effect

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

The Contour property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.