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