Previous Document Next Document
Shape.ClearEffect

Sub ClearEffect(Type As cdrEffectType)

Member of Shape

The ClearEffect method removes an effect from a shape.

Parameters
Description
Type
Specifies the effect to be removed from the shape. This value returns cdrEffectType.

The following code example clears all contours applied to any shape on the page. Any shapes in a group are not processed.

Sub Test() 
 ActivePage.Shapes.All.CreateSelection 
 ActiveSelection.ClearEffect cdrContour 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.