[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.HyperLinkTargetType

HyperLinkTargetType Enum

Specifies the target location where a hyperlink is opened.

Use this enum to control whether a hyperlink opens in a new window or tab, the current frame, the parent frame, or the full browser window body.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum HyperLinkTargetType
Public Enum HyperLinkTargetType
Examples
HyperLinkCellType cellType = new HyperLinkCellType();
cellType.Text = "Example Website";
cellType.Target = HyperLinkTargetType.Self;
worksheet.Range["A1"].CellType = cellType;
worksheet.Range["A1"].Value = "https://www.example.com/";

Fields

Name Description
Blank

Opens the hyperlinked document in a new window or tab.

Parent

Opens the hyperlinked document in the parent frame.

Self

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

Top

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