Previous Document Next Document
Bitmap.LinkFileName

Property LinkFileName As String

Member of Bitmap

The LinkFileName property returns the filename of an externally linked bitmap.

The LinkFileName property returns a read-only value.

The following code example displays the filenames of all externally linked bitmaps.

Sub Test() 
 Dim s As Shape 
 Dim str As String 
 For Each s In ActivePage.Shapes 
  If s.Type = cdrBitmapShape Then 
   If s.Bitmap.ExternallyLinked Then str = str & 
s.Bitmap.LinkFileName & vbCrLf 
  End If 
 Next s 
 MsgBox "The external file names are:" & vbCrLf & str 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.