7 references to GetHenhmetafile
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
52hMetafile = metafile.GetHenhmetafile();
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\MetafileTests.cs (4)
47Assert.Throws<ExternalException>(() => new Metafile(metafile.GetHenhmetafile(), false)); 847AssertExtensions.Throws<ArgumentException>(null, () => Metafile.GetMetafileHeader(metafile.GetHenhmetafile())); 908Assert.NotEqual(IntPtr.Zero, metafile.GetHenhmetafile()); 917AssertExtensions.Throws<ArgumentException>(null, () => metafile.GetHenhmetafile());
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObjectTests.cs (1)
1572medium.unionmember = metafile.GetHenhmetafile();
System\Windows\Forms\TextRendererTests.cs (1)
778using EmfScope emf = new((HENHMETAFILE)metafile.GetHenhmetafile());