6 references to SelectActiveFrame
System.Drawing.Common.Tests (6)
mono\System.Drawing\BitmapTests.cs (1)
348int active = bmp.SelectActiveFrame(FrameDimension.Page, 0);
System\Drawing\BitmapTests.cs (5)
515Assert.Equal(0, bitmap.SelectActiveFrame(FrameDimension.Page, index)); 516Assert.Equal(0, bitmap.SelectActiveFrame(FrameDimension.Resolution, index)); 517Assert.Equal(0, bitmap.SelectActiveFrame(FrameDimension.Time, index)); 518Assert.Equal(0, bitmap.SelectActiveFrame(new FrameDimension(Guid.Empty), index)); 527AssertExtensions.Throws<ArgumentException>(null, () => bitmap.SelectActiveFrame(FrameDimension.Page, 0));