System\Drawing\Imaging\MetafileTests.cs (4)
267using Metafile metafile = new(g.GetHdc(), _rectangle, MetafileFrameUnit.Pixel, EmfType.EmfOnly, description);
286new Metafile(IntPtr.Zero, _rectangle, MetafileFrameUnit.Pixel, EmfType.EmfOnly, "description"));
312new Metafile(referenceHdc, _rectangle, farameUnit, EmfType.EmfOnly, "description"));
330new Metafile(referenceHdc, _rectangle, MetafileFrameUnit.GdiCompatible, emfType, "description"));