GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    SpreadsheetHyperlink Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Hyperlink class.

    • C#
    • VB.NET
    public sealed class SpreadsheetHyperlink
    Public NotInheritable Class SpreadsheetHyperlink
    Inheritance:
    System.Object
    SpreadsheetHyperlink

    Properties

    Exists

    If hyperlink exists returns true, otherwise returns false.

    • C#
    • VB.NET
    public bool Exists { get; }
    Public ReadOnly Property Exists As Boolean
    Property Value
    System.Boolean

    IsExternal

    Defines if hyperlink location is in this excel file.

    • C#
    • VB.NET
    public bool IsExternal { get; set; }
    Public Property IsExternal As Boolean
    Property Value
    System.Boolean

    Location

    Gets or sets the location string for hyperlink.URL has to be in escaped format (you can use System.Uri.EscapeUriString(System.String) method).

    • C#
    • VB.NET
    public string Location { get; set; }
    Public Property Location As String
    Property Value
    System.String

    ToolTip

    Gets or sets ToolTip for hyperlink.

    • C#
    • VB.NET
    public string ToolTip { get; set; }
    Public Property ToolTip As String
    Property Value
    System.String

    Methods

    Equals(Object)

    Determines whether the specified System.Object is equal to this SpreadsheetHyperlink instance.

    • C#
    • VB.NET
    public override bool Equals(object obj)
    Public Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this SpreadsheetHyperlink instance.

    Returns
    System.Boolean

    true if the specified System.Object is a SpreadsheetHyperlink and is equal to this SpreadsheetHyperlink instance; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this SpreadsheetHyperlink instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    An integer value that specifies a hash value for this SpreadsheetHyperlink instance.

    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(SpreadsheetHyperlink, SpreadsheetHyperlink)

    Determines whether first and second SpreadsheetHyperlinks are equal.

    • C#
    • VB.NET
    public static bool operator ==(SpreadsheetHyperlink first, SpreadsheetHyperlink second)
    Public Shared Operator =(first As SpreadsheetHyperlink, second As SpreadsheetHyperlink) As Boolean
    Parameters
    first
    SpreadsheetHyperlink

    The first SpreadsheetHyperlink.

    second
    SpreadsheetHyperlink

    The second SpreadsheetHyperlink.

    Returns
    System.Boolean

    true if first and second SpreadsheetHyperlinks are equal; otherwise, false.

    Inequality(SpreadsheetHyperlink, SpreadsheetHyperlink)

    Determines whether first and second SpreadsheetHyperlinks are not equal.

    • C#
    • VB.NET
    public static bool operator !=(SpreadsheetHyperlink first, SpreadsheetHyperlink second)
    Public Shared Operator <>(first As SpreadsheetHyperlink, second As SpreadsheetHyperlink) As Boolean
    Parameters
    first
    SpreadsheetHyperlink

    The first SpreadsheetHyperlink.

    second
    SpreadsheetHyperlink

    The second SpreadsheetHyperlink.

    Returns
    System.Boolean

    true if first and second SpreadsheetHyperlinks are not equal; otherwise, false.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.