Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.CopyEffectFrom |
Function CopyEffectFrom(Clone As Boolean, SourceObjectID As Long) As Long
Member of CorelScript
The CopyEffectFrom method copies an effect from a specific object to the selected object.
Parameter
|
Description
|
Clone
|
Specifies whether to clone the effect instead of copying it. True (-1) clones the effect, creating a link between the two objects such that when the effect is changed for one object, the other object also changes.
|
SourceObjectID
|
Specifies the object ID of the source object. To determine the ID of an object, use the CorelScript.GetObjectsCDRStaticID method.
|
Copyright 2013 Corel Corporation. All rights reserved.