# GC.Spread.Sheets.Hyperlink.HyperlinkTargetType

## Content

# Enumeration: HyperlinkTargetType

[Sheets](../modules/GC.Spread.Sheets).[Hyperlink](../modules/GC.Spread.Sheets.Hyperlink).HyperlinkTargetType

Present the way that user open the hyperlinked document. Default is blank.

**`example`**
```javascript
//This example uses the HyperlinkTargetType.
sheet.setHyperlink(1, 1, {
   url: 'https://www.spreadjs.com',
   tooltip: 'baidu',
   target: GC.Spread.Sheets.Hyperlink.HyperlinkTargetType.top,
}, GC.Spread.Sheets.SheetArea.viewport);
```

## Table of contents

### Enumeration members

- [blank](GC.Spread.Sheets.Hyperlink.HyperlinkTargetType#blank)
- [parent](GC.Spread.Sheets.Hyperlink.HyperlinkTargetType#parent)
- [self](GC.Spread.Sheets.Hyperlink.HyperlinkTargetType#self)
- [top](GC.Spread.Sheets.Hyperlink.HyperlinkTargetType#top)

## Enumeration members

### <a id="blank" name="blank"></a> blank

• **blank** = `0`

Opens the hyperlinked document in a new window or tab.

___

### <a id="parent" name="parent"></a> parent

• **parent** = `2`

Opens the hyperlinked document in the parent frame.

___

### <a id="self" name="self"></a> self

• **self** = `1`

Opens the hyperlinked document in the same frame where the user clicked.

___

### <a id="top" name="top"></a> top

• **top** = `3`

Opens the hyperlinked document in the full body of the window.
