Edit

Share via


LinkFormat Interface

Definition

Represents the linking characteristics for an OLE object or picture.

public interface class LinkFormat
[System.Runtime.InteropServices.Guid("00020931-0000-0000-C000-000000000046")]
public interface LinkFormat
type LinkFormat = interface
Public Interface LinkFormat
Attributes

Remarks

Use the LinkFormat property of a Shape, InlineShape, or Field object to return the LinkFormat object.

Not all types of shapes, inline shapes, and fields can be linked to a source. Use the Type property of a Shape or InlineShape object 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

Returns a Application object that represents the Microsoft Word application.

AutoUpdate

True if the specified link is updated automatically when the container file is opened or when the source file is changed.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Locked

True if a Field, InlineShape, or Shape object is locked to prevent automatic updating.

Parent

Returns an object that represents the parent object of the specified object.

SavePictureWithDocument

True if the specified picture is saved with the document.

SourceFullName

Returns or sets the path and name of the source file for the specified linked OLE object, picture, or field.

SourceName

Returns the name of the source file for the specified linked OLE object, picture, or field.

SourcePath

Returns the path of the source file for the specified linked OLE object, picture, or field.

Type

Returns the link type.

Methods

BreakLink()

Breaks the link between the source file and the specified OLE object, picture, or linked field.

Update()

Updates the specified link.

Applies to