6 references to SetResolution
System.Drawing.Common.Tests (6)
mono\System.Drawing\BitmapTests.cs (1)
1144
bmp.
SetResolution
(x, y);
mono\System.Drawing\GraphicsTests.cs (1)
2971
bmp.
SetResolution
(x, y);
System\Drawing\BitmapTests.cs (4)
977
bitmap.
SetResolution
(xDpi, yDpi);
988
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
SetResolution
(xDpi, 1));
999
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
SetResolution
(1, yDpi));
1008
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
SetResolution
(1, 1));