See Also

ReportViewerObject Class  | ReportViewerObject Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

PaperColor Property

Gets or sets the color that represents the paper in the report view.

[Visual Basic]
Public Property PaperColor As Color
[C#]
public Color PaperColor {get; set;}

Return Type

A System.Drawing.Color value that represents the paper color.  The default value is White.

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    rptDD rpt = new rptDD(); 
    rpt.Run(); 
    arv.Document = rpt.Document; 
    arv.ReportViewer.PaperColor = System.Drawing.Color.Peru; 
}

[Visual Basic] 

Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
    arv.ReportViewer.PaperColor = System.Drawing.Color.Peru
End Sub

See Also

ReportViewerObject Class  | ReportViewerObject Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.