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)
448
return
CreateDeviceContext
(modeHandle);
System\Drawing\Printing\PrintPreviewGraphics.cs (1)
31
using var hdc = _printPageEventArgs.PageSettings.PrinterSettings.
CreateDeviceContext
(hdevmode);