Previous Document Next Document

Object Model Reference : Classes : S : Shape : Properties : Shape.CloneLink


Shape.CloneLink

Property CloneLink As CloneLink

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.