Table of Contents

Class ExcelHyperLink

Namespace
OfficeOpenXml
Assembly
EPPlus.dll

HyperlinkClass

public class ExcelHyperLink : Uri, ISpanFormattable, IFormattable, ISerializable
Inheritance
Uri
ExcelHyperLink
Implements
Inherited Members
Uri.UriSchemeFile
Uri.UriSchemeFtp
Uri.UriSchemeSftp
Uri.UriSchemeFtps
Uri.UriSchemeGopher
Uri.UriSchemeHttp
Uri.UriSchemeHttps
Uri.UriSchemeWs
Uri.UriSchemeWss
Uri.UriSchemeMailto
Uri.UriSchemeNews
Uri.UriSchemeNntp
Uri.UriSchemeSsh
Uri.UriSchemeTelnet
Uri.UriSchemeNetTcp
Uri.UriSchemeNetPipe
Uri.SchemeDelimiter
Uri.GetLeftPart(UriPartial)
Uri.GetHashCode()
Uri.ToString()
Uri.MakeRelativeUri(Uri)
Uri.MakeRelative(Uri)
Uri.Canonicalize()
Uri.Parse()
Uri.Escape()
Uri.CheckSecurity()
Uri.TryCreate(Uri, Uri, out Uri)
Uri.GetComponents(UriComponents, UriFormat)
Uri.IsWellFormedOriginalString()
Uri.IsBaseOf(Uri)
Uri.AbsolutePath
Uri.AbsoluteUri
Uri.LocalPath
Uri.Authority
Uri.HostNameType
Uri.IsDefaultPort
Uri.IsFile
Uri.IsLoopback
Uri.PathAndQuery
Uri.Segments
Uri.IsUnc
Uri.Host
Uri.Port
Uri.Query
Uri.Fragment
Uri.Scheme
Uri.OriginalString
Uri.DnsSafeHost
Uri.IdnHost
Uri.IsAbsoluteUri
Uri.UserEscaped
Uri.UserInfo

Constructors

A new hyperlink with the specified URI

public ExcelHyperLink(string uriString)

Parameters

uriString string

The URI

Sheet internal reference

public ExcelHyperLink(string referenceAddress, string display)

Parameters

referenceAddress string

The address or defined name

display string

Displayed text

A new hyperlink with the specified URI and kind

public ExcelHyperLink(string uriString, UriKind uriKind)

Parameters

uriString string

The URI

uriKind UriKind

Kind (absolute/relative or indeterminate)

Properties

If the hyperlink spans multiple columns

public int ColSpan { get; set; }

Property Value

int

Displayed text

public string Display { get; set; }

Property Value

string

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

public Uri OriginalUri { get; }

Property Value

Uri

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

public string ReferenceAddress { get; set; }

Property Value

string

If the hyperlink spans multiple rows

public int RowSpan { get; set; }

Property Value

int

Tooltip

public string ToolTip { get; set; }

Property Value

string