Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the background image displayed in the control.
Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)
Syntax
'Declaration
Public Overrides Property BackgroundImage As System.Drawing.Image
public override System.Drawing.Image BackgroundImage {get; set;}
Example
This example sets displays a background image in the report.
'Declaration
Private Sub SetBackgroundDisplays(ByVal bgImage As Image, _
ByVal displayBackgroundEdge As Boolean)
CrystalReportViewer.BackgroundImage = bgImage
CrystalReportViewer.DisplayBackgroundEdge = displayBackgroundEdge
End Sub
private void SetBackgroundDisplays(Image bgImage, bool displayBackgroundEdge)
{
crystalReportViewer.BackgroundImage = bgImage;
crystalReportViewer.DisplayBackgroundEdge = displayBackgroundEdge;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio 2005
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace