3 references to CreateDeviceContext
System.Drawing.Common (3)
System\Drawing\Printing\DefaultPrintController.cs (1)
32_hdc = new(document.PrinterSettings.CreateDeviceContext(_modeHandle));
System\Drawing\Printing\PrinterSettings.cs (1)
448return CreateDeviceContext(modeHandle);
System\Drawing\Printing\PrintPreviewGraphics.cs (1)
31using var hdc = _printPageEventArgs.PageSettings.PrinterSettings.CreateDeviceContext(hdevmode);