Previous Document Next Document
Bitmap.OPILinked

Property OPILinked As Boolean

Member of Bitmap

The OPILinked property returns True if a bitmap in the TIF format has an OPI link to another image.

The OPILinked property returns a read-only value.

The following code example displays the number of bitmaps with OPI links.

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.OPILinked Then n = n + 1 
  End If 
 Next s 
 MsgBox "There are " & n & " OPI images." 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.