Partilhar via


Propriedade ReportPrintEventArgs.PrinterSettings

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

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

Sintaxe

'Declaração
Public Property PrinterSettings As PrinterSettings
public PrinterSettings PrinterSettings { get; set; }
public:
property PrinterSettings^ PrinterSettings {
    PrinterSettings^ get ();
    void set (PrinterSettings^ value);
}
member PrinterSettings : PrinterSettings with get, set
function get PrinterSettings () : PrinterSettings
function set PrinterSettings (value : PrinterSettings)

Valor de propriedade

Tipo: PrinterSettings
A PrinterSettings object that contains the printer settings.

Comentários

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 nulluma referência nula (Nothing no Visual Basic) (Nothing in Visual Basic).

Consulte também

Referência

ReportPrintEventArgs Classe

Namespace Microsoft.Reporting.WinForms