System\Drawing\Imaging\MetafileTests.cs (4)
749using Metafile metafile = new(stream, g.GetHdc(), _rectangle, MetafileFrameUnit.GdiCompatible, emfType);
787new Metafile(stream, IntPtr.Zero, _rectangle, MetafileFrameUnit.GdiCompatible, EmfType.EmfOnly));
802new Metafile(stream, referenceHdc, _rectangle, frameUnit, EmfType.EmfOnly));
816new Metafile(stream, referenceHdc, _rectangle, MetafileFrameUnit.GdiCompatible, emfType));