API Documentation > CorelDRAW > 2025-v26 > EffectLens > IVGEffectLens
EffectLens.RemoveFace property
Gets or sets whether or not to remove the lens face
Syntax:
Property Get RemoveFace() As Boolean
Property Let RemoveFace(ByVal Value As Boolean)
Remarks:
The RemoveFace property returns or specifies whether to show the lens face or the effect of a lens. If this property is set to True, the lens displays its effects only where it covers the object. The RemoveFace option is available for color-altering lenses only and is not available for Fish eye and Magnify lenses.
Examples:
The following VBA 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