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