Object Model Reference : Classes : E : EffectContour : Properties : EffectContour.OutlineColor |
Property OutlineColor As Color
Member of EffectContour
The OutlineColor property returns or specifies the outline color of the last contour step.
The following VBA example creates a contour with a color transition in the fountain fill.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateEllipse2(4.25, 5.5, 2) |
s.Fill.ApplyFountainFill CreateCMYKColor(100, 0, 0, 0), CreateCMYKColor(0, 0, 100, 0) |
s.Outline.SetProperties 0.02, , CreateCMYKColor(0, 0, 100, 0) |
With s.CreateContour(cdrContourOutside, 0.1, 20).Contour |
.FillColor.CMYKAssign 0, 0, 100, 0 |
.FillColorTo.CMYKAssign 0, 100, 100, 0 |
.OutlineColor.CMYKAssign 100, 0, 100, 0 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.