Previous Document Next Document

Object Model Reference : Classes : O : Outline : Properties : Outline.BehindFill


Outline.BehindFill

Property BehindFill As Boolean

Description

Member of Outline

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

VBA example

The following VBA example creates an ellipse, and a thick outline 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 2013 Corel Corporation. All rights reserved.