LinkFormat Object

Multiple objects
LinkFormat

Represents the linking characteristics for an OLE object or picture.

Using the LinkFormat Object

Use the LinkFormat property for a shape, inline shape, or field to return the LinkFormat object. The following example breaks the link for the first shape on the active document.

ActiveDocument.Shapes(1).LinkFormat.BreakLink

Remarks

Not all types of shapes, inline shapes, and fields can be linked to a source. Use the Type property for the Shape and InlineShape objects to determine whether a particular shape can be linked. The Type property for a Field object returns the type of field.

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

Properties | Application Property | AutoUpdate Property | Creator Property | Locked Property | Parent Property | SavePictureWithDocument Property | SourceFullName Property | SourceName Property | SourcePath Property | Type Property

Methods | BreakLink Method | Update Method

Parent Objects | Field Object | InlineShape Object | Shape Object

Child Objects

See Also | ClassType Property | InlineShapes Collection Object | OLEFormat Object | ProgID Property | Shapes Collection Object | Type Property