ActiveReports 6 Online Help
UserPreferences Class
Members  Example 

Specifies the look of hyperlinks and the controls that host them in the Viewer control.
Object Model
UserPreferences Class
Syntax
'Declaration
 
Public Class UserPreferences 
public class UserPreferences 
Example
private void myForm_Load(object sender, System.EventArgs e)
{
    rptKewl rpt = new rptKewl();
    rpt.Run();
    this.arViewer.Document = rpt.Document;

    this.arViewer.ReportViewer.HyperLinkBackColor = Color.Transparent;
    this.arViewer.ReportViewer.HyperLinkForeColor = Color.Aquamarine;
    this.arViewer.ReportViewer.HyperLinkUnderline = false;
    this.arViewer.ReportViewer.SearchResultsBackColor = Color.AliceBlue;
    this.arViewer.ReportViewer.SearchResultsForeColor = Color.Coral;
}
Private Sub myForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim rpt As New rptKewl
    rpt.Run
    Me.arViewer.Document = rpt.Document
    
    Me.arViewer.ReportViewer.HyperLinkBackColor = Color.Transparent; 
    Me.arViewer.ReportViewer.HyperLinkForeColor = Color.Aquamarine; 
    Me.arViewer.ReportViewer.HyperLinkUnderline = False; 
    Me.arViewer.ReportViewer.SearchResultsBackColor = Color.AliceBlue; 
    Me.arViewer.ReportViewer.SearchResultsForeColor = Color.Coral;
End Sub
Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.Document.UserPreferences

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UserPreferences Members
DataDynamics.ActiveReports.Document Namespace

Send Feedback