Hyperlink Hyperlink Hyperlink Interface

Definition

Represents a hyperlink.

public interface class Hyperlink
[System.Runtime.InteropServices.Guid("0002099D-0000-0000-C000-000000000046")]
public interface Hyperlink
Public Interface Hyperlink
Attributes

Remarks

The Hyperlink object is a member of the Hyperlinks collection.

Use the Hyperlink property to return a Hyperlink object associated with a shape (a shape can have only one hyperlink).

Use Hyperlinks(index), where index is the index number, to return a single Hyperlink object from a document, range, or selection.

Properties

Address Address Address

Returns or sets the address (for example, a file name or URL) of the specified hyperlink.

AddressOld AddressOld AddressOld

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Word application.

Creator Creator Creator

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

EmailSubject EmailSubject EmailSubject

Returns or sets the text string for the specified hyperlink’s subject line. The subject line is appended to the hyperlink’s Internet address, or URL.

ExtraInfoRequired ExtraInfoRequired ExtraInfoRequired

True if extra information is required to resolve the specified hyperlink.

Name Name Name

Returns or sets the name of the specified object.

Parent Parent Parent

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

Range Range Range

Returns a Range object that represents the portion of a document that is contained in the specified object.

ScreenTip ScreenTip ScreenTip

Returns or sets the text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.

Shape Shape Shape

Returns a Shape object for the specified hyperlink.

SubAddress SubAddress SubAddress

Returns or sets a named location in the destination of the specified hyperlink.

SubAddressOld SubAddressOld SubAddressOld

Reserved for internal use.

Target Target Target

Returns or sets the name of the frame or window in which to load the hyperlink.

TextToDisplay TextToDisplay TextToDisplay

Returns or sets the specified hyperlink's visible text in a document.

Type Type Type

Returns the hyperlink type.

Methods

AddToFavorites() AddToFavorites() AddToFavorites()

Creates a shortcut to the document or hyperlink and adds it to the Favorites folder.

CreateNewDocument(String, Boolean, Boolean) CreateNewDocument(String, Boolean, Boolean) CreateNewDocument(String, Boolean, Boolean)

Creates a new document linked to the specified hyperlink.

Delete() Delete() Delete()

Deletes the specified object.

Follow(Object, Object, Object, Object, Object) Follow(Object, Object, Object, Object, Object) Follow(Object, Object, Object, Object, Object)

Displays a cached document associated with the specified Hyperlink object, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.

Applies to