CrystalReportViewer.DisplayBackgroundEdge Property

Determines whether the report is offset from the edge of its view window.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration

Public NotInheritable Property DisplayBackgroundEdge As Boolean
public sealed bool DisplayBackgroundEdge {get; set;}

Example

The following example sets the background display settings.

'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 .NET 2002

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace