5 writes to X
System.Drawing.Common (1)
System\Drawing\Printing\PrinterResolution.cs (1)
26
X
= x;
System.Drawing.Common.Tests (4)
System\Drawing\Printing\PrinterResolutionTests.cs (4)
29
X
= value
34
resolution.
X
= value;
88
yield return new object[] { new PrinterResolution {
X
= -1, Y = -2}, "[PrinterResolution X=-1 Y=-2]" };
90
yield return new object[] { new PrinterResolution {
X
= 1, Y = 2, Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" };
8 references to X
System.Drawing.Common (3)
System\Drawing\Printing\PageSettings.cs (2)
299
devmode->dmPrintQuality = (short)_printerResolution.
X
;
448
if (resolutions[i].
X
== devmode->dmPrintQuality && resolutions[i].Y == devmode->dmYResolution)
System\Drawing\Printing\PrinterResolution.cs (1)
59
: FormattableString.Invariant($"[PrinterResolution X={
X
} Y={Y}]");
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PageSettingsTests.cs (2)
58
Assert.Equal(ps.PrinterResolution.
X
, clone.PrinterResolution.
X
);
System\Drawing\Printing\PrinterResolutionTests.cs (3)
15
Assert.Equal(0, resolution.
X
);
31
Assert.Equal(value, resolution.
X
);
35
Assert.Equal(value, resolution.
X
);