API Documentation > CorelDRAW > 2025-v26 > Bitmap > IVGBitmap
Bitmap.LinkFileName property
Gets the file name of the externally linked bitmap
Syntax:
Property Get LinkFileName() As String
Property Let LinkFileName(ByVal Value As String)
Remarks:
The LinkFileName property returns the filename of an externally linked bitmap.
Examples:
The following VBA 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