12 references to PageSettings
System.Drawing (4)
commonui\System\Drawing\Printing\DefaultPrintController.cs (1)
101
e.
PageSettings
.CopyToHdevmode(modeHandle);
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
104
e.
PageSettings
.CopyToHdevmode(modeHandle);
commonui\System\Drawing\Printing\PrintPreviewGraphics.cs (2)
47
IntPtr hdevMode = printPageEventArgs.
PageSettings
.PrinterSettings.GetHdevmodeInternal();
49
using( DeviceContext dc = printPageEventArgs.
PageSettings
.PrinterSettings.CreateDeviceContext(hdevMode)) {
System.Workflow.ComponentModel (8)
AuthoringOM\Design\WorkflowPrinting.cs (8)
122
Margins margins = new Margins(Math.Max(printPageArg.
PageSettings
.Margins.Left, hardMargins.Left),
123
Math.Max(printPageArg.
PageSettings
.Margins.Right, hardMargins.Right),
124
Math.Max(printPageArg.
PageSettings
.Margins.Top, hardMargins.Top),
125
Math.Max(printPageArg.
PageSettings
.Margins.Bottom, hardMargins.Bottom));
322
Margins margins = new Margins(Math.Max(printPageArg.
PageSettings
.Margins.Left, hardMargins.Left),
323
Math.Max(printPageArg.
PageSettings
.Margins.Right, hardMargins.Right),
324
Math.Max(printPageArg.
PageSettings
.Margins.Top, hardMargins.Top),
325
Math.Max(printPageArg.
PageSettings
.Margins.Bottom, hardMargins.Bottom));