3 writes to Width
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PaperSizeTests.cs (3)
197Width = value 202size.Width = value; 214AssertExtensions.Throws<ArgumentException>("value", null, () => size.Width = 1);
11 references to Width
System.Drawing.Common (5)
System\Drawing\Printing\PageSettings.cs (4)
265int width = PrinterUnitConvert.Convert(_paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 282int width = PrinterUnitConvert.Convert(_paperSize.Width, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter); 363? new Rectangle(0, 0, size.Height, size.Width) 364: new Rectangle(0, 0, size.Width, size.Height);
System\Drawing\Printing\PaperSize.cs (1)
119public override string ToString() => $"[PaperSize {PaperName} Kind={Kind} Height={Height.ToString(CultureInfo.InvariantCulture)} Width={Width.ToString(CultureInfo.InvariantCulture)}]";
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PageSettingsTests.cs (2)
53Assert.Equal(ps.PaperSize.Width, clone.PaperSize.Width);
System\Drawing\Printing\PaperSizeTests.cs (4)
41Assert.Equal(0, size.Width); 55Assert.Equal(width, size.Width); 199Assert.Equal(value, size.Width); 203Assert.Equal(value, size.Width);