Share via


ReportPrintEventArgs.PrinterSettings Property

 

Gets or sets the printer settings to use for the current operation.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public PrinterSettings PrinterSettings { get; set; }
public:
property PrinterSettings^ PrinterSettings {
    PrinterSettings^ get();
    void set(PrinterSettings^ value);
}
member PrinterSettings : PrinterSettings with get, set
Public Property PrinterSettings As PrinterSettings

Property Value

Type: System.Drawing.Printing.PrinterSettings

A PrinterSettings object that contains the printer settings.

Remarks

By default, this property contains the same values as the PrinterSettings property in ReportViewer, except that its PrintRange property is always set to AllPages for the Print event.

This property cannot be set to null (Nothing in Visual Basic).

See Also

ReportPrintEventArgs Class
Microsoft.Reporting.WinForms Namespace

Return to top