Version

DisplayText Property

Gets or sets the text to display in the cell when the hyperlink is added to a worksheet, or null to use the target text.
Syntax
'Declaration
 
Public Property DisplayText As System.String
public System.string DisplayText {get; set;}
Exceptions
ExceptionDescription
System.InvalidOperationExceptionOccurs when IsSealed is True.
System.ArgumentException Occurs when the specified value is longer than 2084 characters.
Remarks

Note: the display text will only get applied if the target cell has no value or a string value.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub