ActiveReports 9
HyperLink Property (OleObject)
Example 

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 System.String
public System.string HyperLink {get; set;}
Remarks
Note: When using the HtmlViewer, the RawHtml, the Flash Viewer or the Silverlight Viewer to display a report, you should indicate the full URL address (for example, "http://www.grapecity.com") for this property.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.OleObject1.CreateFrom("C:\\MailAliases.xls");
    this.OleObject1.HyperLink = "www.grapecity.com";
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.OleObject1.CreateFrom("C:\MailAliases.xls")
    Me.OleObject1.HyperLink = "www.grapecity.com"
End Sub
See Also

Reference

OleObject Class
OleObject Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum