Show / Hide Table of Contents

Class ExcelHyperLink

HyperlinkClass

Inheritance
object
Uri
ExcelHyperLink
Implements
ISpanFormattable
IFormattable
ISerializable
Inherited Members
Uri.SchemeDelimiter
Uri.UriSchemeFile
Uri.UriSchemeFtp
Uri.UriSchemeFtps
Uri.UriSchemeGopher
Uri.UriSchemeHttp
Uri.UriSchemeHttps
Uri.UriSchemeMailto
Uri.UriSchemeNetPipe
Uri.UriSchemeNetTcp
Uri.UriSchemeNews
Uri.UriSchemeNntp
Uri.UriSchemeSftp
Uri.UriSchemeSsh
Uri.UriSchemeTelnet
Uri.UriSchemeWs
Uri.UriSchemeWss
Uri.Canonicalize()
Uri.CheckHostName(string)
Uri.CheckSchemeName(string)
Uri.CheckSecurity()
Uri.Compare(Uri, Uri, UriComponents, UriFormat, StringComparison)
Uri.Equals(object)
Uri.Escape()
Uri.EscapeDataString(string)
Uri.EscapeString(string)
Uri.EscapeUriString(string)
Uri.FromHex(char)
Uri.GetComponents(UriComponents, UriFormat)
Uri.GetHashCode()
Uri.GetLeftPart(UriPartial)
Uri.GetObjectData(SerializationInfo, StreamingContext)
Uri.HexEscape(char)
Uri.HexUnescape(string, ref int)
Uri.IsBadFileSystemCharacter(char)
Uri.IsBaseOf(Uri)
Uri.IsExcludedCharacter(char)
Uri.IsHexDigit(char)
Uri.IsHexEncoding(string, int)
Uri.IsReservedCharacter(char)
Uri.IsWellFormedOriginalString()
Uri.IsWellFormedUriString(string, UriKind)
Uri.MakeRelative(Uri)
Uri.MakeRelativeUri(Uri)
Uri.Parse()
Uri.ToString()
Uri.TryCreate(string, in UriCreationOptions, out Uri)
Uri.TryCreate(string, UriKind, out Uri)
Uri.TryCreate(Uri, string, out Uri)
Uri.TryCreate(Uri, Uri, out Uri)
Uri.TryFormat(Span<char>, out int)
Uri.Unescape(string)
Uri.UnescapeDataString(string)
Uri.AbsolutePath
Uri.AbsoluteUri
Uri.Authority
Uri.DnsSafeHost
Uri.Fragment
Uri.Host
Uri.HostNameType
Uri.IdnHost
Uri.IsAbsoluteUri
Uri.IsDefaultPort
Uri.IsFile
Uri.IsLoopback
Uri.IsUnc
Uri.LocalPath
Uri.OriginalString
Uri.PathAndQuery
Uri.Port
Uri.Query
Uri.Scheme
Uri.Segments
Uri.UserEscaped
Uri.UserInfo
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelHyperLink : Uri, ISpanFormattable, IFormattable, ISerializable

Constructors

ExcelHyperLink(string)

A new hyperlink with the specified URI

Declaration
public ExcelHyperLink(string uriString)
Parameters
Type Name Description
string uriString

The URI

ExcelHyperLink(string, string)

Sheet internal reference.

Declaration
public ExcelHyperLink(string referenceAddress, string display)
Parameters
Type Name Description
string referenceAddress

The address or defined name

string display

Displayed text

ExcelHyperLink(string, UriKind)

A new hyperlink with the specified URI and kind

Declaration
public ExcelHyperLink(string uriString, UriKind uriKind)
Parameters
Type Name Description
string uriString

The URI

UriKind uriKind

Kind (absolute/relative or indeterminate)

Properties

ColSpan

If the hyperlink spans multiple columns

Declaration
public int ColSpan { get; set; }
Property Value
Type Description
int

Display

Displayed text

Declaration
public string Display { get; set; }
Property Value
Type Description
string

OriginalUri

Used to handle non absolute URI's. Is used if IsAblsoluteUri is true. The base URI will have a dummy value of xl://nonAbsolute.

Declaration
public Uri OriginalUri { get; }
Property Value
Type Description
Uri

ReferenceAddress

The Excel address for internal links or extended data for external hyper links not supported by the Uri class.

Declaration
public string ReferenceAddress { get; set; }
Property Value
Type Description
string

RowSpan

If the hyperlink spans multiple rows

Declaration
public int RowSpan { get; set; }
Property Value
Type Description
int

ToolTip

Tooltip

Declaration
public string ToolTip { get; set; }
Property Value
Type Description
string

Implements

ISpanFormattable
IFormattable
ISerializable
In this article
Back to top Generated by DocFX