Share via


CrystalReportViewer.PrintMode Property

Gets or sets the print mode to print the report.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration

Public Property PrintMode As CrystalDecisions.Web.PrintMode
public CrystalDecisions.Web.PrintMode PrintMode {get; set;}

Example

This example shows how to set the print mode for a CrystalReportViewer control.

'Declaration

    Private Sub SetPrintMode()
      CrystalReportViewer.PrintMode = PrintMode.Pdf
    End Sub
    private void SetPrintMode()
    {
      crystalReportViewer.PrintMode = PrintMode.Pdf;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 10

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Web Namespace