Object Model Reference : Classes : S : Shape : Properties : Shape.CloneLink |
Property CloneLink As CloneLink
Member of Shape
The CloneLink property returns a CloneLink object that represents the clone properties of a specified shape.
The CloneLink property returns a read-only value.
The following VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.