Previous Document Next Document
Shape.PowerClip

Property PowerClip As PowerClip

Member of Shape

The PowerClip property returns an PowerClip object that represents the properties for a PowerClip container. You can use this object to access shapes in a PowerClip container, or you can change the properties of a PowerClip.

The PowerClip property returns a read-only value.

The following code example extracts shapes from all PowerClip containers on the current page:

Sub Test() 
 Dim s As Shape 
 Dim pwc As PowerClip 
 For Each s In ActivePage.Shapes 
  Set pwc = Nothing 
  On Error Resume Next 
  Set pwc = s.PowerClip 
  On Error GoTo 0 
  If Not pwc Is Nothing Then 
   s.CreateSelection 
   pwc.ExtractShapes 
  End If 
 Next s 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.