CrystalReportViewer.BackgroundImageLayout Property

Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration.

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

Syntax

'Declaration

Public Overrides Property BackgroundImageLayout As System.Windows.Forms.ImageLayout
public override System.Windows.Forms.ImageLayout BackgroundImageLayout {get; set;}

Example

This example demonstrates how to set the layout of a background image in the CrystalReportViewer.

'Declaration

    Private Sub SetBackgroundImageLayout()
        CrystalReportViewer.BackgroundImageLayout = ImageLayout.Tile
    End Sub
    private void SetBackgroundImageLayout()
    {
        crystalReportViewer.BackgroundImageLayout = ImageLayout.Tile;
    }

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