52 references to PrinterSettings
System.Windows.Forms (52)
System\Windows\Forms\Printing\PrintDialog.cs (52)
84
?
PrinterSettings
.DefaultPageSettings
101
if (value !=
PrinterSettings
)
178
flags |= (PRINTDLGEX_FLAGS)
PrinterSettings
.PrintRange;
195
if (
PrinterSettings
.Collate)
247
dialogSettings->nCopies = (ushort)
PrinterSettings
.Copies;
253
? (HGLOBAL)
PrinterSettings
.GetHdevmode()
254
: (HGLOBAL)
PrinterSettings
.GetHdevmode(PageSettings);
256
dialogSettings->hDevNames = (HGLOBAL)
PrinterSettings
.GetHdevnames();
272
if (
PrinterSettings
.FromPage <
PrinterSettings
.MinimumPage
273
||
PrinterSettings
.FromPage >
PrinterSettings
.MaximumPage)
278
if (
PrinterSettings
.ToPage <
PrinterSettings
.MinimumPage
279
||
PrinterSettings
.ToPage >
PrinterSettings
.MaximumPage)
284
if (
PrinterSettings
.ToPage <
PrinterSettings
.FromPage)
289
dialogSettings->nFromPage = (ushort)
PrinterSettings
.FromPage;
290
dialogSettings->nToPage = (ushort)
PrinterSettings
.ToPage;
291
dialogSettings->nMinPage = (ushort)
PrinterSettings
.MinimumPage;
292
dialogSettings->nMaxPage = (ushort)
PrinterSettings
.MaximumPage;
316
PrinterSettings
,
320
PrinterSettings
.PrintToFile = PrintToFile;
324
PrinterSettings
.FromPage = dialogSettings->nFromPage;
325
PrinterSettings
.ToPage = dialogSettings->nToPage;
333
PrinterSettings
.Copies = (short)dialogSettings->nCopies;
334
PrinterSettings
.Collate = dialogSettings->Flags.HasFlag(PRINTDLGEX_FLAGS.PD_COLLATE);
360
nCopies = (uint)
PrinterSettings
.Copies,
367
? (HGLOBAL)
PrinterSettings
.GetHdevmode()
368
: (HGLOBAL)
PrinterSettings
.GetHdevmode(PageSettings);
370
dialogSettings.hDevNames = (HGLOBAL)
PrinterSettings
.GetHdevnames();
386
if (
PrinterSettings
.FromPage <
PrinterSettings
.MinimumPage
387
||
PrinterSettings
.FromPage >
PrinterSettings
.MaximumPage)
392
if (
PrinterSettings
.ToPage <
PrinterSettings
.MinimumPage
393
||
PrinterSettings
.ToPage >
PrinterSettings
.MaximumPage)
398
if (
PrinterSettings
.ToPage <
PrinterSettings
.FromPage)
403
pageRange.nFromPage = (uint)
PrinterSettings
.FromPage;
404
pageRange.nToPage = (uint)
PrinterSettings
.ToPage;
407
dialogSettings.nMinPage = (uint)
PrinterSettings
.MinimumPage;
408
dialogSettings.nMaxPage = (uint)
PrinterSettings
.MaximumPage;
426
PrinterSettings
,
430
PrinterSettings
.PrintToFile = PrintToFile;
433
PrinterSettings
.FromPage = (int)pageRange.nFromPage;
434
PrinterSettings
.ToPage = (int)pageRange.nToPage;
442
PrinterSettings
.Copies = (short)dialogSettings.nCopies;
443
PrinterSettings
.Collate = dialogSettings.Flags.HasFlag(PRINTDLGEX_FLAGS.PD_COLLATE);