Previous Document Next Document
Outline.BehindFill

Property BehindFill As Boolean

Member of Outline

The BehindFill property determines whether an outline is placed behind the object’s fill. If the BehindFill property is set to True, the outline appears behind the fill.

The following code example creates an ellipse with a thick outline that is placed behind the ellipse’s 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.