Share via


PrintOptions.CustomPaperSource Property

Gets or sets the current printer paper source.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration

Public Overrideable Property CustomPaperSource As System.Drawing.Printing.PaperSource
public virtual System.Drawing.Printing.PaperSource CustomPaperSource {get; set;}

Example

This example returns the custom paper source of the print options in a report document.

'Declaration

      Private Function GetCustomPaperSource(ByVal myReportDocument As ReportDocument) As System.Drawing.Printing.PaperSource
        GetCustomPaperSource = myReportDocument.PrintOptions.CustomPaperSource()
      End Function
      
      private System.Drawing.Printing.PaperSource GetCustomPaperSource(ReportDocument reportDocument)
      {
        return reportDocument.PrintOptions.CustomPaperSource;
      }
      

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET XI

See Also

Reference

PrintOptions Class
PrintOptions Members
CrystalDecisions.CrystalReports.Engine Namespace