ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Label Class / HyperLink Property
Example

In This Topic
    HyperLink Property (Label)
    In This Topic

    Gets or sets a URL address that can be used in the viewer's HyperLink event to navigate to the specified location.  The URL is automatically converted into an anchor tag or a hyperlink in HTML and PDF exports.

    Syntax
    'Declaration
     
    Public Property HyperLink As String
    public string HyperLink {get; set;}
    Remarks

    Note: When using the HtmlViewer or the RawHtml to display a report, you should indicate the full URL address (for example, "https://developer.mescius.com") for this property.

    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.label1.HyperLink = "mailto:support@company.com";
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.Label1.HyperLink = "mailto:support@company.com"
    End Sub
    See Also

    Reference

    Label Class
    Label Members
    HyperLinkEventArgs