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