
## Hyperlink class

Contains elements for creating multiple jumps between a shape or drawing page and another drawing page, another file, or a Web site.

```js
new Hyperlink()
```

Constructor.

## Methods

| Name | Description |
| --- | --- |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getAddress()](#getaddress) | Specifies a URL address, DOS file name, or UNC path to jump to. |
| [getDefault()](#getdefault) | Specifies the default hyperlink for a shape or page. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getDescription()](#getdescription) | Description element contains a text string that describes the hyperlink. |
| [getExtraInfo()](#getextrainfo) | Contains information to be used in resolving a URL, such as the coordinates of an image map. For example, x=41 y=7 would |
| [getFrame()](#getframe) | Contains the name of a frame to target when Microsoft Visio is open as an active document in a container application. Th |
| [getID()](#getid) | The unique ID of the element within its parent element. |
| [getInvisible()](#getinvisible) | Invisible element indicates whether a hyperlink appears on the shortcut menu for a shape or page. |
| [getName()](#getname) | The name of the element. |
| [getNameU()](#getnameu) | The universal name of the element. |
| [getNewWindow()](#getnewwindow) | Specifies whether Microsoft Visio opens a window in a new location when it follows a hyperlink to open a Web page or ano |
| [getSortKey()](#getsortkey) | Invisible element indicates whether a hyperlink appears on the shortcut menu for a shape or page. |
| [getSubAddress()](#getsubaddress) | Specifies a location within the target document to link to. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setID()](#setid) | The unique ID of the element within its parent element. |
| [setName()](#setname) | The name of the element. |
| [setNameU()](#setnameu) | The universal name of the element. |

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Object — `Object`

### getAddress() {#getaddress}

Specifies a URL address, DOS file name, or UNC path to jump to.

### getDefault() {#getdefault}

Specifies the default hyperlink for a shape or page.

### getDel() {#getdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### getDescription() {#getdescription}

Description element contains a text string that describes the hyperlink.

### getExtraInfo() {#getextrainfo}

Contains information to be used in resolving a URL, such as the coordinates of an image map. For example, x=41 y=7 would specify the coordinates of an image map.

### getFrame() {#getframe}

Contains the name of a frame to target when Microsoft Visio is open as an active document in a container application. The default is an empty string.

### getID() {#getid}

The unique ID of the element within its parent element.

### getInvisible() {#getinvisible}

Invisible element indicates whether a hyperlink appears on the shortcut menu for a shape or page.

### getName() {#getname}

The name of the element.

### getNameU() {#getnameu}

The universal name of the element.

### getNewWindow() {#getnewwindow}

Specifies whether Microsoft Visio opens a window in a new location when it follows a hyperlink to open a Web page or another Visio document.

### getSortKey() {#getsortkey}

Invisible element indicates whether a hyperlink appears on the shortcut menu for a shape or page.

### getSubAddress() {#getsubaddress}

Specifies a location within the target document to link to.

### setDel() {#setdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### setID() {#setid}

The unique ID of the element within its parent element.

### setName() {#setname}

The name of the element.

### setNameU() {#setnameu}

The universal name of the element.
