Właściwość ReportViewer.PrinterSettings —
Gets or sets a PrinterSettings object that contains the settings for the default printer and print options that are used to initialize the Print dialog and the printer's Preferences dialog.
Przestrzeń nazw: Microsoft.Reporting.WinForms
Zestaw: Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)
Składnia
'Deklaracja
<BrowsableAttribute(False)> _
Public Property PrinterSettings As PrinterSettings
[BrowsableAttribute(false)]
public PrinterSettings PrinterSettings { get; set; }
[BrowsableAttribute(false)]
public:
property PrinterSettings^ PrinterSettings {
PrinterSettings^ get ();
void set (PrinterSettings^ value);
}
[<BrowsableAttribute(false)>]
member PrinterSettings : PrinterSettings with get, set
function get PrinterSettings () : PrinterSettings
function set PrinterSettings (value : PrinterSettings)
Wartość właściwości
Typ: PrinterSettings
A PrinterSettings object.
Uwagi
You should also update this property to reflect the user's changes in those dialogs. Note that the page range settings, such as the PrintRange, FromPage, and ToPage properties, are not used by the ReportViewer when initializing the print dialog. To set the page range settings when launching the dialog, use the PrintDialog method.