2 writes to Margins
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PageSettingsTests.cs (1)
41Margins = new Margins(120, 130, 140, 150),
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
261pageSettings.Margins = PrinterUnitConvert.Convert(newMargins, fromUnit, PrinterUnit.Display);
5 references to Margins
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PageSettingsTests.cs (2)
48Assert.Equal(ps.Margins, clone.Margins);
System.Windows.Forms (3)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
198if (_pageSettings?.Margins is not null) 311if (_pageSettings.Margins is not null) 313Margins margins = PrinterUnitConvert.Convert(_pageSettings.Margins, PrinterUnit.Display, toUnit);