Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a LinkFormat object that represents the link options of a shape that is linked to a file. Read/only.
Syntax
expression .LinkFormat
expression A variable that represents a Shape object.
Example
This example inserts a graphic as an inline shape (using an INCLUDEPICTURE field) and then displays the source name (Tiles.bmp).
Set iShape = ActiveDocument.InlineShapes _
.AddPicture(FileName:="C:\windows\Tiles.bmp", _
LinkToFile:=True, SaveWithDocument:=False, _
Range:=Selection.Range)
MsgBox iShape.LinkFormat.SourceName