3 instantiations of HdcHandle
System.Drawing.Common (3)
System\Drawing\Printing\DefaultPrintController.cs (1)
32
_hdc =
new
(document.PrinterSettings.CreateDeviceContext(_modeHandle));
System\Drawing\Printing\PreviewPrintController.cs (1)
37
_hdc =
new
(document.PrinterSettings.CreateInformationContext(_modeHandle ?? HGLOBAL.Null));
System\Drawing\Printing\PrinterSettings.cs (1)
510
g.PrintingHelper = new
HdcHandle
(hdc); // Graphics will dispose of the DeviceContext.
5 references to HdcHandle
System.Drawing.Common (3)
System\Drawing\Graphics.cs (1)
170
if (PrintingHelper is
HdcHandle
printerDC)
System\Drawing\Printing\DefaultPrintController.cs (1)
14
private
HdcHandle
? _hdc;
System\Drawing\Printing\PreviewPrintController.cs (1)
14
private
HdcHandle
? _hdc;
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\HdcHandle.cs (2)
26
public static implicit operator HDC(in
HdcHandle
handle) => handle.Handle;
27
public static implicit operator nint(in
HdcHandle
handle) => handle.Handle;