7 writes to wmf
System.Drawing (7)
commonui\System\Drawing\Advanced\Metafile.cs (7)
771
header.
wmf
= new MetafileHeaderWmf();
836
header.
wmf
= (MetafileHeaderWmf) UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf));
840
header.
wmf
= null;
883
header.
wmf
= (MetafileHeaderWmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf));
887
header.
wmf
= null;
930
header.
wmf
= (MetafileHeaderWmf)UnsafeNativeMethods.PtrToStructure(memory, typeof(MetafileHeaderWmf));
934
header.
wmf
= null;
30 references to wmf
System.Drawing (30)
commonui\System\Drawing\Advanced\Metafile.cs (1)
773
int status = SafeNativeMethods.Gdip.GdipGetMetafileHeaderFromWmf(new HandleRef(null, hmetafile), wmfHeader, header.
wmf
);
commonui\System\Drawing\Advanced\MetafileHeader.cs (29)
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;
119
new Rectangle(
wmf
.X,
wmf
.Y,
wmf
.Width,
wmf
.Height) :
132
if ((
wmf
== null) && (emf == null))
135
if ((
wmf
!= null) &&
136
((
wmf
.type == MetafileType.Wmf) ||
137
(
wmf
.type == MetafileType.WmfPlaceable)))
153
if (
wmf
== null && emf == null)
156
return ((
wmf
!= null) && (
wmf
.type == MetafileType.WmfPlaceable));
167
if (
wmf
== null && emf == null)
181
if (
wmf
== null && emf == null)
195
if (
wmf
== null && emf == null)
210
if (
wmf
== null && emf == null)
225
if (
wmf
== null && emf == null)
252
if (
wmf
== null)
255
return
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;