5 references to new
System.Drawing.Common (1)
System\Drawing\Imaging\Metafile.cs (1)
143
this
(referenceHdc, frameRect, frameUnit, EmfType.EmfPlusDual)
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\MetafileTests.cs (4)
259
using Metafile metafile =
new
(g.GetHdc(), _rectangle, MetafileFrameUnit.Pixel, emfType);
287
new
Metafile
(IntPtr.Zero, _rectangle, MetafileFrameUnit.Pixel, EmfType.EmfOnly));
313
AssertExtensions.Throws<ArgumentException>(null, () => new
Metafile
(referenceHdc, _rectangle, farameUnit, EmfType.EmfOnly));
331
new
Metafile
(referenceHdc, _rectangle, MetafileFrameUnit.GdiCompatible, emfType));