API Documentation
>
CorelDRAW
>
2025-v26
>
Shape
>
IVGShape
Shape.ClearEffect method
Clears any effect applied to the shape
Syntax:
Sub
ClearEffect
(
ByVal
Type
As
cdrEffectType
)
Parameters:
Name
Type
Description
Type
cdrEffectType
Remarks:
The
ClearEffect
method removes an effect from a shape.
Examples:
The following VBA example clears all contours applied to any shape on the page. Any grouped shapes are not processed.
Sub Test() ActivePage.Shapes.All.CreateSelection ActiveSelection.ClearEffect cdrContour End Sub