7 writes to emf
System.Drawing (7)
commonui\System\Drawing\Advanced\Metafile.cs (7)
794
header.
emf
= new MetafileHeaderEmf();
837
header.
emf
= null;
841
header.
emf
= (MetafileHeaderEmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderEmf));
884
header.
emf
= null;
888
header.
emf
= (MetafileHeaderEmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderEmf));
931
header.
emf
= null;
935
header.
emf
= (MetafileHeaderEmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderEmf));
34 references to emf
System.Drawing (34)
commonui\System\Drawing\Advanced\Metafile.cs (1)
796
int status = SafeNativeMethods.Gdip.GdipGetMetafileHeaderFromEmf(new HandleRef(null, henhmetafile), header.
emf
);
commonui\System\Drawing\Advanced\MetafileHeader.cs (33)
41
return IsWmf() ? wmf.type :
emf
.type;
56
return IsWmf() ? wmf.size :
emf
.size;
69
return IsWmf() ? wmf.version :
emf
.version;
92
return IsWmf() ? wmf.dpiX :
emf
.dpiX;
105
return IsWmf() ? wmf.dpiY :
emf
.dpiY;
120
new Rectangle(
emf
.X,
emf
.Y,
emf
.Width,
emf
.Height);
132
if ((wmf == null) && (
emf
== null))
153
if (wmf == null &&
emf
== null)
167
if (wmf == null &&
emf
== null)
170
return ((
emf
!= null) && (
emf
.type == MetafileType.Emf));
181
if (wmf == null &&
emf
== null)
184
return ((
emf
!= null) && (
emf
.type >= MetafileType.Emf));
195
if (wmf == null &&
emf
== null)
198
return ((
emf
!= null) && (
emf
.type >= MetafileType.EmfPlusOnly));
210
if (wmf == null &&
emf
== null)
213
return ((
emf
!= null) && (
emf
.type == MetafileType.EmfPlusDual));
225
if (wmf == null &&
emf
== null)
228
return ((
emf
!= null) && (
emf
.type == MetafileType.EmfPlusOnly));
240
(((unchecked((int)
emf
.emfPlusFlags)) & ((int)EmfPlusFlags.Display)) != 0);
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;