Previous Document Next Document

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


Shape.PowerClip

Property PowerClip As PowerClip

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.