Previous Document Next Document

Object Model Reference : Classes : E : EffectContour : Properties : EffectContour.FillColor


EffectContour.FillColor

Property FillColor As Color

Description

Member of EffectContour

The FillColor property returns or specifies the starting color of a fountain fill for the last contour shape.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.