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)
524handle = printerSettings.GetHdevmode(pageSettings); 532Assert.Throws<NullReferenceException>(() => printerSettings.GetHdevmode(null));
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
329dialogSettings.hDevMode = (HGLOBAL)printer.GetHdevmode(_pageSettings);
System\Windows\Forms\Printing\PrintDialog.cs (2)
254: (HGLOBAL)PrinterSettings.GetHdevmode(PageSettings); 368: (HGLOBAL)PrinterSettings.GetHdevmode(PageSettings);