Previous Document Next Document
Bitmap.CropEnvelopeModified

Property CropEnvelopeModified As Boolean

Member of Bitmap

The CropEnvelopeModified property returns True if the cropping path of the bitmap has been modified.

The CropEnvelopeModified property returns a read-only value.

The following code example displays the number of bitmaps that have a modified cropping path.

Sub Test() 
 Dim s As Shape, n As Long 
 n = 0 
 For Each s In ActivePage.Shapes 
  If s.Type = cdrBitmapShape Then 
   If s.Bitmap.CropEnvelopeModified Then n = n + 1 
  End If 
 Next s 
 MsgBox "The crop envelope has been modified on " & n & " bitmaps." 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.