![]() |
![]() |
EffectLens.RemoveFace
Property RemoveFace As Boolean
Member of EffectLens
The RemoveFace property returns or sets whether to show the lens face or the effect of a lens. If set to True, it makes the lens display the effects of the lens only where it covers the object.
The RemoveFace option is available for color-altering lenses only and isnt available for Fish eye and Magnify lenses.
The following code example creates two heat map lenses, one with and one without the RemoveFace option:
Sub Test() Dim s1 As Shape, s2 As Shape Set s1 = ActiveLayer.CreateRectangle2(0, 2, 3, 2) s1.Fill.ApplyFountainFill Set s2 = ActiveLayer.CreateEllipse2(1.5, 4.5, 1.5) s2.CreateLens(cdrLensHeatMap, 20).Lens.RemoveFace = True Set s2 = ActiveLayer.CreateEllipse2(1.5, 1.5, 1.5) s2.CreateLens(cdrLensHeatMap, 20).Lens.RemoveFace = False End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.