| 
       | 
        
       | Object Model Reference : Classes : E : EffectContour : Properties : EffectContour.LinkAcceleration  | 
      
Property LinkAcceleration As Boolean
Member of EffectContour
The LinkAcceleration property returns or specifies whether color acceleration is linked to object-spacing acceleration in a contour effect.
The following VBA example creates a contour effect with non-uniform spacing and color transition.
Sub Test()  | 
 Dim s As Shape  | 
 Set s = ActiveLayer.CreateEllipse2(5.5, 4, 2)  | 
 s.Fill.UniformColor.RGBAssign 255, 0, 0  | 
 s.Outline.SetProperties 0.05, , CreateRGBColor(0, 255, 255)  | 
 With s.CreateContour(cdrContourOutside, 0.5, 5, , , CreateRGBColor(255, 255, 0)).Contour  | 
  .LinkAcceleration = False  | 
  .ColorAcceleration = 50  | 
  .SpacingAcceleration = -50  | 
 End With  | 
End Sub  | 
| 
       | 
        
       | 
		      
		          
		             | 
      
Copyright 2013 Corel Corporation. All rights reserved.