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