LinkFormat Object

Description

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.

See Also

ClassType property, InlineShapes collection object, OLEFormat object, ProgID property, Shapes collection object, Type property.