Previous Document Next Document
Shape.CloneLink

Property CloneLink As CloneLink

Member of Shape

The CloneLink property returns a CloneLink object that represents the clone properties of the specified shape.

The CloneLink property returns a read-only value.

The following code example creates a rectangle and then creates a clone of it. The original rectangle (control shape) is filled with a texture fill by referencing it through the CloneLink property.

Sub Test() 
 Dim s As Shape 
 Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2) 
 Set s = s.Clone(3, 0) 
 s.CloneLink.CloneParent.Fill.ApplyTextureFill "Patches 5C" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.