6 instantiations of Metafile
System.Drawing (2)
commonui\System\Drawing\Advanced\Metafile.cs (1)
992
Metafile metafile = new
Metafile
();
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
122
Metafile metafile = new
Metafile
(dc.Hdc, new Rectangle(0,0, metafileSize.Width, metafileSize.Height), MetafileFrameUnit.GdiCompatible, EmfType.EmfPlusOnly);
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
263
using (Metafile metaFile = new
Metafile
(
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (2)
4852
return(Image)(new
Metafile
(handle, header, false)).Clone();
4854
return(Image)(new
Metafile
(handle, false)).Clone();
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
263
using (Metafile metaFile = new
Metafile
(
115 references to Metafile
System.Drawing (108)
commonui\System\Drawing\Advanced\Metafile.cs (47)
45
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified handle and
57
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified handle and
83
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
107
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified filename.
129
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified stream.
150
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified handle to a
161
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
188
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified device context,
200
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified device context,
212
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
224
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified device context,
252
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
264
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
276
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
288
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
328
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified
339
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified
351
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified filename.
379
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified filename.
390
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified filename.
402
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the specified filename.
414
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
426
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
458
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
470
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
483
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
496
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
508
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
552
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified data
564
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified data
576
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified data stream.
603
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the specified data stream.
614
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
627
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
640
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
670
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class from the
682
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
695
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
708
/// Initializes a new instance of the <see cref='System.Drawing.Imaging.
Metafile
'/> class with the
760
/// Returns the <see cref='System.Drawing.Imaging.MetafileHeader'/> associated with the specified <see cref='System.Drawing.Imaging.
Metafile
'/>.
784
/// Returns the <see cref='System.Drawing.Imaging.MetafileHeader'/> associated with the specified <see cref='System.Drawing.Imaging.
Metafile
'/>.
807
/// Returns the <see cref='System.Drawing.Imaging.MetafileHeader'/> associated with the specified <see cref='System.Drawing.Imaging.
Metafile
'/>.
854
/// Returns the <see cref='System.Drawing.Imaging.MetafileHeader'/> associated with the specified <see cref='System.Drawing.Imaging.
Metafile
'/>.
901
/// Returns the <see cref='System.Drawing.Imaging.MetafileHeader'/> associated with this <see cref='System.Drawing.Imaging.
Metafile
'/>.
948
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
991
internal static
Metafile
FromGDIplus(IntPtr nativeImage) {
992
Metafile
metafile = new Metafile();
commonui\System\Drawing\Advanced\MetafileFrameUnit.cs (1)
23
/// creation of the <see cref='System.Drawing.Imaging.
Metafile
'/>.
commonui\System\Drawing\Advanced\MetafileHeader.cs (19)
20
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
35
/// Gets the type of the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
49
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
63
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
86
/// dots-per-inch, of the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
99
/// dots-per-inch, of the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
112
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
127
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Windows metafile
147
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Windows Placeable metafile
162
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Windows enhanced metafile
176
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Windows enhanced metafile
190
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Windows enhanced metafile
204
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/> is in the Dual enhanced
219
/// Returns a value indicating whether the associated <see cref='System.Drawing.Imaging.
Metafile
'/> supports only the Windows
234
/// Returns a value indicating whether the associated <see cref='System.Drawing.Imaging.
Metafile
'/> is device-dependent.
246
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
263
/// Gets the WMF header file for the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
298
/// dots-per-inch, of the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
314
/// dots-per-inch, of the associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
commonui\System\Drawing\Advanced\MetafileType.cs (1)
20
/// Specifies the format of a <see cref='System.Drawing.Imaging.
Metafile
'/>.
commonui\System\Drawing\Advanced\METAHEADER.cs (2)
38
/// <see cref='System.Drawing.Imaging.
Metafile
'/>.
65
/// associated <see cref='System.Drawing.Imaging.
Metafile
'/>.
commonui\System\Drawing\Graphics.cs (36)
3387
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3394
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3402
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3422
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3429
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3437
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3457
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3464
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3472
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3495
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3502
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3510
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3531
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3538
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3546
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3577
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
3584
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
3592
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
3622
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3630
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3639
public void EnumerateMetafile(
Metafile
metafile, PointF destPoint,
3664
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3672
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3681
public void EnumerateMetafile(
Metafile
metafile, Point destPoint,
3707
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3715
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3724
public void EnumerateMetafile(
Metafile
metafile, RectangleF destRect,
3751
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3759
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3771
public void EnumerateMetafile(
Metafile
metafile, Rectangle destRect,
3800
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3811
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3823
public void EnumerateMetafile(
Metafile
metafile, PointF[] destPoints,
3862
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
3873
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
3885
public void EnumerateMetafile(
Metafile
metafile, Point[] destPoints,
commonui\System\Drawing\Image.cs (1)
499
image =
Metafile
.FromGDIplus(nativeImage);
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
122
Metafile
metafile = new Metafile(dc.Hdc, new Rectangle(0,0, metafileSize.Width, metafileSize.Height), MetafileFrameUnit.GdiCompatible, EmfType.EmfPlusOnly);
System.Web.DataVisualization (2)
Common\General\Chart.cs (1)
263
using (
Metafile
metaFile = new Metafile(
Common\General\ChartGraphics.cs (1)
397
image is
Metafile
&&
System.Windows.Forms (3)
winforms\Managed\System\WinForms\AxHost.cs (2)
4751
Metafile
mf = image as
Metafile
;
winforms\Managed\System\WinForms\NativeMethods.cs (1)
2747
public PICTDESCemf(System.Drawing.Imaging.
Metafile
metafile) {
System.Windows.Forms.DataVisualization (2)
Common\General\Chart.cs (1)
263
using (
Metafile
metaFile = new Metafile(
Common\General\ChartGraphics.cs (1)
397
image is
Metafile
&&