Class ExcelHyperLink
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
HyperlinkClass
public class ExcelHyperLink : Uri, ISpanFormattable, IFormattable, ISerializable
- Inheritance
-
UriExcelHyperLink
- Implements
- Inherited Members
-
Uri.UriSchemeFileUri.UriSchemeFtpUri.UriSchemeSftpUri.UriSchemeFtpsUri.UriSchemeGopherUri.UriSchemeHttpUri.UriSchemeHttpsUri.UriSchemeWsUri.UriSchemeWssUri.UriSchemeMailtoUri.UriSchemeNewsUri.UriSchemeNntpUri.UriSchemeSshUri.UriSchemeTelnetUri.UriSchemeNetTcpUri.UriSchemeNetPipeUri.SchemeDelimiterUri.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.AbsolutePathUri.AbsoluteUriUri.LocalPathUri.AuthorityUri.HostNameTypeUri.IsDefaultPortUri.IsFileUri.IsLoopbackUri.PathAndQueryUri.SegmentsUri.IsUncUri.HostUri.PortUri.QueryUri.FragmentUri.SchemeUri.OriginalStringUri.DnsSafeHostUri.IdnHostUri.IsAbsoluteUriUri.UserEscapedUri.UserInfo
Constructors
ExcelHyperLink(string)
A new hyperlink with the specified URI
public ExcelHyperLink(string uriString)
Parameters
uriString
stringThe URI
ExcelHyperLink(string, string)
Sheet internal reference
public ExcelHyperLink(string referenceAddress, string display)
Parameters
ExcelHyperLink(string, UriKind)
A new hyperlink with the specified URI and kind
public ExcelHyperLink(string uriString, UriKind uriKind)
Parameters
uriString
stringThe URI
uriKind
UriKindKind (absolute/relative or indeterminate)
Properties
ColSpan
If the hyperlink spans multiple columns
public int ColSpan { get; set; }
Property Value
Display
Displayed text
public string Display { get; set; }
Property Value
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.
public Uri OriginalUri { get; }
Property Value
- Uri
ReferenceAddress
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
RowSpan
If the hyperlink spans multiple rows
public int RowSpan { get; set; }
Property Value
ToolTip
Tooltip
public string ToolTip { get; set; }