Previous Document Next Document

Object Model Reference : Classes : C : CloneLink : Properties : CloneLink.FillLinked


CloneLink.FillLinked

Property FillLinked As Boolean

Description

Member of CloneLink

The FillLinked property returns a value indicating if the fill attributes of a clone object are linked to its parent object. If the FillLinked property is True, the fill attributes of the cloned object are linked to the parent object. If linked, the clone has the same fill attributes as its parent object.

You can also break or restore a link by assigning a value to the property.

VBA example

The following VBA example looks at the shapes in the current selection that are cloned objects, and restores several links (fill, outline, shape, and color) between the cloned objects and their parent objects.

Sub FillLink()
 Dim s As Shape
 For Each s In ActiveSelection.Shapes(1).Clones
  s.CloneLink.FillLinked = True
  s.CloneLink.BitmapColorMaskLinked = True
  s.CloneLink.OutlineLinked = True
  s.CloneLink.ShapeLinked = True
  s.CloneLink.TransformLinked = True
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.