Object Model Reference : Classes : S : Shape : Properties : Shape.PowerClip |
Property PowerClip As PowerClip
Member of Shape
The PowerClip property returns a PowerClip object that represents the properties for a PowerClip container. You can use this object to access the shapes in a PowerClip container, or to change the properties of a PowerClip object.
The PowerClip property returns a read-only value.
The following VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.