Previous Document Next Document

Object Model Reference : Classes : B : Bitmap : Properties : Bitmap.LinkFileName


Bitmap.LinkFileName

Property LinkFileName As String

Description

Member of Bitmap

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

The LinkFileName property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.