Object Model Reference : Classes : S : Shape : Methods : Shape.ClearEffect |
Sub ClearEffect(Type As cdrEffectType)
Member of Shape
The ClearEffect method removes an effect from a shape.
Parameter
|
Description
|
Type
|
Specifies the effect to remove, and returns cdrEffectType
|
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 |
Copyright 2013 Corel Corporation. All rights reserved.