Table of contents
TOC
Collapse the table of content
Expand the table of content

LinkFormat Object (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Represents the linking characteristics for an OLE object or picture.

Remarks

Not all types of shapes and fields can be linked to a source. Use the Type property for the Shape object to determine whether a particular shape can be linked.

Use the Update method to update links. To return or set the full path for a particular link's source file, use the SourceFullName property.

Example

Use the LinkFormat property for a shape or field to return a LinkFormat object. The following example updates the links to all linked OLE objects on the first page of the active publication.

Sub FindOLEObjects() 
 Dim shpShape As Shape 

 For Each shpShape In ActiveDocument.Pages(1).Shapes 
 If shpShape.Type = pbLinkedOLEObject Then 
 shpShape.LinkFormat.Update 
 End If 
 Next shpShape 
End Sub

Methods

Name
Update

Properties

Name
Application
Parent
SourceFullName
© 2018 Microsoft