API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.ActivePowerClip property
Returns the current PowerClip object that is being edited
Syntax:
Property Get ActivePowerClip() As PowerClip
Remarks:
The ActivePowerClip property returns the current PowerClip object being edited.
Examples:
The following VBA example displays the number of shapes in the active PowerClip of the active document:
Sub PowerClip()
MsgBox ActiveDocument.ActivePowerClip.Shapes.Count 
End Sub