System.Drawing.Imaging.Metafile: Constructor Members

The constructors of System.Drawing.Imaging.Metafile are listed below. For a list of all members, see the Metafile Members list.

See Also: Inherited members from System.Drawing.Image

Public Constructors

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified file name.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified handle.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified handle to a device context and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified handle and a System.Drawing.Imaging.WmfPlaceableFileHeader.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified handle to a device context and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A string can be supplied to name the file.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified handle and a System.Drawing.Imaging.WmfPlaceableFileHeader. Also, the deleteWmf parameter can be used to delete the handle when the metafile is deleted.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, and a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, and a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, and a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, and a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. Also, a string that contains a descriptive name for the new System.Drawing.Imaging.Metafile can be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A descriptive string can be added, as well.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A string can be provided to name the file.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A string can be provided to name the file.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure. A descriptive string can also be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, and the supplied unit of measure. A descriptive string can also be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A string that contains a descriptive name for the new System.Drawing.Imaging.Metafile can be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class from the specified data stream, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A string that contains a descriptive name for the new System.Drawing.Imaging.Metafile can be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.Rectangle structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A descriptive string can also be added.

Initializes a new instance of the System.Drawing.Imaging.Metafile class with the specified file name, a Windows handle to a device context, a System.Drawing.RectangleF structure that represents the rectangle that bounds the new System.Drawing.Imaging.Metafile, the supplied unit of measure, and an System.Drawing.Imaging.EmfType enumeration that specifies the format of the System.Drawing.Imaging.Metafile. A descriptive string can also be added.