Metafile Constructor (Stream^, IntPtr, EmfType, String^)
.NET Framework (current version)
Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and an EmfType enumeration that specifies the format of the Metafile. Also, a string that contains a descriptive name for the new Metafile can be added.
Assembly: System.Drawing (in System.Drawing.dll)
public:
Metafile(
Stream^ stream,
IntPtr referenceHdc,
EmfType type,
String^ description
)
Parameters
- stream
- Type: System.IO::Stream^
- referenceHdc
-
Type:
System::IntPtr
A Windows handle to a device context.
- type
- Type: System.Drawing.Imaging::EmfType
- description
-
Type:
System::String^
A String that contains a descriptive name for the new Metafile.
.NET Framework
Available since 1.1
Available since 1.1
Show: