Export (0) Print
Expand All
Expand Minimize

Metafile Constructor (Stream)

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

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

public Metafile(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream

The Stream from which to create the new Metafile.

ExceptionCondition
ArgumentException

stream is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft