ActiveReports.Viewer3 Request technical support
PaperColor Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property PaperColor As Color
Visual Basic (Usage)Copy Code
Dim instance As ReportViewerObject
Dim value As Color
 
instance.PaperColor = value
 
value = instance.PaperColor
C# 
public Color PaperColor {get; set;}

Return Value

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

Example

C#Copy Code
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 BasicCopy Code
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