Previous Document Next Document

Object Model Reference : Classes : S : Shape : Methods : Shape.ClearEffect


Shape.ClearEffect

Sub ClearEffect(Type As cdrEffectType)

Description

Member of Shape

The ClearEffect method removes an effect from a shape.

Parameter
Description
Type
Specifies the effect to remove, and returns cdrEffectType

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.