ActiveReports Developer 7
UserPreferences Class
Members  Example  See Also 
GrapeCity.ActiveReports.Document.v7 Assembly > GrapeCity.ActiveReports.Document.Section Namespace : UserPreferences Class

Glossary Item Box

Specifies the look of hyperlinks and the controls that host them in the Viewer control.

Object Model

UserPreferences Class

Syntax

Visual Basic (Declaration) 
Public Class UserPreferences 
C# 
public class UserPreferences 

Example

C#Copy Code
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;
}
Visual BasicCopy Code
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
   GrapeCity.ActiveReports.Document.Section.UserPreferences

See Also