API Documentation > CorelDRAW > 2025-v26 > Bitmap > IVGBitmap
Bitmap.ResetCropEnvelope method
Removes a clipping path from a bitmap and resets its envelope to a bounding box rectangle
Syntax:
Sub ResetCropEnvelope()
Remarks:
The ResetCropEnvelope method removes a cropping path from a bitmap.
Examples:
The following VBA example removes the cropping path from all bitmaps on the active page.
Sub Test()
Dim s As Shape
For Each s In ActivePage.Shapes
  If s.Type = cdrBitmapShape Then

 If s.Bitmap.Cropped Then s.Bitmap.ResetCropEnvelope

 End If
  Next s

End Sub