Previous Document Next Document

Object Model Reference : Classes : B : Bitmap : Methods : Bitmap.ResetCropEnvelope


Bitmap.ResetCropEnvelope

Sub ResetCropEnvelope()

Description

Member of Bitmap

The ResetCropEnvelope method removes a cropping path from a bitmap.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.