6 references to GetHdevmode
System.Drawing.Common (1)
System\Drawing\Printing\PrintController.cs (1)
218
_modeHandle = (SafeDeviceModeHandle)document.PrinterSettings.
GetHdevmode
(document.DefaultPageSettings);
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PrinterSettingsTests.cs (2)
524
handle = printerSettings.
GetHdevmode
(pageSettings);
532
Assert.Throws<NullReferenceException>(() => printerSettings.
GetHdevmode
(null));
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
329
dialogSettings.hDevMode = (HGLOBAL)printer.
GetHdevmode
(_pageSettings);
System\Windows\Forms\Printing\PrintDialog.cs (2)
254
: (HGLOBAL)PrinterSettings.
GetHdevmode
(PageSettings);
368
: (HGLOBAL)PrinterSettings.
GetHdevmode
(PageSettings);