10 references to Metafile
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
129
Metafile metafile = new
Metafile
(metafileStream);
System.Drawing.Common.Tests (7)
mono\System.Imaging\MetafileTest.cs (4)
109
using Metafile mf =
new
(fs);
125
using Metafile mf =
new
(ms);
170
using Metafile mf =
new
(fs);
180
using Metafile mf =
new
(ms);
System\Drawing\Imaging\MetafileTests.cs (3)
94
using Metafile metafile =
new
(stream);
101
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new
Metafile
((Stream)null));
108
Assert.Throws<ExternalException>(() => new
Metafile
(stream));
System.Windows.Forms.Design (1)
System\Drawing\Design\MetafileEditor.cs (1)
18
protected override Image LoadFromStream(Stream stream) => new
Metafile
(stream);
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
777
using Metafile metafile =
new
(stream);