Metafile Constructor (Stream, IntPtr, RectangleF)

 

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

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

public Metafile(
	Stream stream,
	IntPtr referenceHdc,
	RectangleF frameRect
)

Parameters

stream
Type: System.IO.Stream

A Stream that contains the data for this Metafile.

referenceHdc
Type: System.IntPtr

A Windows handle to a device context.

frameRect
Type: System.Drawing.RectangleF

A RectangleF that represents the rectangle that bounds the new Metafile.

.NET Framework
Available since 1.1
Return to top
Show: