Metafile Constructor (IntPtr, EmfType, String)

 

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

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public Metafile(
	IntPtr referenceHdc,
	EmfType emfType,
	string description
)

Parameters

referenceHdc
Type: System.IntPtr

The handle to a device context.

emfType
Type: System.Drawing.Imaging.EmfType

An EmfType that specifies the format of the Metafile.

description
Type: System.String

A descriptive name for the new Metafile.

.NET Framework
Available since 1.1
Return to top
Show: