ActiveReports 9
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
   GrapeCity.ActiveReports.Document.Section.UserPreferences

See Also

Reference

UserPreferences Members
GrapeCity.ActiveReports.Document.Section Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum