Object Model Reference : Classes : O : Outline : Properties : Outline.BehindFill |
Property BehindFill As Boolean
Member of Outline
The BehindFill property determines whether to place an outline behind an objects fill. If the BehindFill property is set to True, the outline appears behind the fill.
The following VBA example creates an ellipse, and a thick outline is placed behind the ellipses fill.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateEllipse2(3, 3, 2) |
s.Fill.UniformColor.RGBAssign 255, 0, 0 |
With s.Outline |
.Width = 0.2 |
.Color.RGBAssign 0, 0, 255 |
.BehindFill = True |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.