7 writes to wmf
System.Drawing (7)
commonui\System\Drawing\Advanced\Metafile.cs (7)
771header.wmf = new MetafileHeaderWmf(); 836header.wmf = (MetafileHeaderWmf) UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf)); 840header.wmf = null; 883header.wmf = (MetafileHeaderWmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf)); 887header.wmf = null; 930header.wmf = (MetafileHeaderWmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf)); 934header.wmf = null;
30 references to wmf
System.Drawing (30)
commonui\System\Drawing\Advanced\Metafile.cs (1)
773int status = SafeNativeMethods.Gdip.GdipGetMetafileHeaderFromWmf(new HandleRef(null, hmetafile), wmfHeader, header.wmf);
commonui\System\Drawing\Advanced\MetafileHeader.cs (29)
41return IsWmf() ? wmf.type : emf.type; 56return IsWmf() ? wmf.size : emf.size; 69return IsWmf() ? wmf.version : emf.version; 92return IsWmf() ? wmf.dpiX : emf.dpiX; 105return IsWmf() ? wmf.dpiY : emf.dpiY; 119new Rectangle(wmf.X, wmf.Y, wmf.Width, wmf.Height) : 132if ((wmf == null) && (emf == null)) 135if ((wmf != null) && 136((wmf.type == MetafileType.Wmf) || 137(wmf.type == MetafileType.WmfPlaceable))) 153if (wmf == null && emf == null) 156return ((wmf != null) && (wmf.type == MetafileType.WmfPlaceable)); 167if (wmf == null && emf == null) 181if (wmf == null && emf == null) 195if (wmf == null && emf == null) 210if (wmf == null && emf == null) 225if (wmf == null && emf == null) 252if (wmf == null) 255return wmf.WmfHeader; 287 if (wmf == null && emf == null) 290 return IsWmf() ? wmf.EmfPlusHeaderSize : emf.EmfPlusHeaderSize; 304 if (wmf == null && emf == null) 307 return IsWmf() ? wmf.LogicalDpiX : emf.LogicalDpiX; 319 if (wmf == null && emf == null) 322 return IsWmf() ? wmf.LogicalDpiY : emf.LogicalDpiX;