3 writes to Width
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PaperSizeTests.cs (3)
197
Width
= value
202
size.
Width
= value;
214
AssertExtensions.Throws<ArgumentException>("value", null, () => size.
Width
= 1);
11 references to Width
System.Drawing.Common (5)
System\Drawing\Printing\PageSettings.cs (4)
265
int width = PrinterUnitConvert.Convert(_paperSize.
Width
, PrinterUnit.Display, PrinterUnit.TenthsOfAMillimeter);
282
int 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)
119
public 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)
53
Assert.Equal(ps.PaperSize.
Width
, clone.PaperSize.
Width
);
System\Drawing\Printing\PaperSizeTests.cs (4)
41
Assert.Equal(0, size.
Width
);
55
Assert.Equal(width, size.
Width
);
199
Assert.Equal(value, size.
Width
);
203
Assert.Equal(value, size.
Width
);