Metafile Constructor (Stream, IntPtr, Rectangle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and a Rectangle 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,
	Rectangle 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.Rectangle

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

.NET Framework
Available since 1.1
Return to top
Show: