ActiveReports 8
UserPreferences Class
Members  Example  See Also 
GrapeCity.ActiveReports.Document.v8 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

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