Object Model Reference : Classes : B : Bitmap : Methods : Bitmap.Crop |
Sub Crop()
Member of Bitmap
The Crop method crops the bitmap to its clipping path.
The following VBA example crops all bitmaps which can be cropped.
Sub Test() |
Dim s As Shape |
For Each s In ActivePage.Shapes |
If s.Type = cdrBitmapShape Then |
If s.Bitmap.Cropped Then s.Bitmap.Crop |
End If |
Next s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.