Click or drag to resize
SpreadsheetHyperlink Class
Hyperlink class.
Inheritance Hierarchy
SystemObject
  GemBox.SpreadsheetSpreadsheetHyperlink

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public sealed class SpreadsheetHyperlink

The SpreadsheetHyperlink type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this SpreadsheetHyperlink instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this SpreadsheetHyperlink instance.
(Overrides ObjectGetHashCode.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether first and second SpreadsheetHyperlinks are equal.
Public operatorStatic memberInequality
Determines whether first and second SpreadsheetHyperlinks are not equal.
Top
Properties
  NameDescription
Public propertyExists
If hyperlink exists returns true, otherwise returns false.
Public propertyIsExternal
Defines if hyperlink location is in this excel file.
Public propertyLocation
Gets or sets the location string for hyperlink.
Remarks
URL have to be in escaped format(You can useSystem.Uri.EscapeUriString method).
Public propertyToolTip
Gets or sets ToolTip for hyperlink.
Top
Remarks

Supported only in xlsx. If you want hyperlinks also to work in XLS, assign HYPERLINK formula to ExcelCell.Formula.

You can set cell style to underline and font color to blue in order to appear as hyperlink, that is not done automatically.

See Also