Metafile Constructor (String^)

 

Initializes a new instance of the Metafile class from the specified file name.

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

public:
Metafile(
	String^ filename
)

Parameters

filename
Type: System::String^

A String that represents the file name from which to create the new Metafile.

The following code example demonstrates how to create and use a Metafile.

No code example is currently available or this language may not be supported.

FileIOPermission

for read access to the file specified by filename. Related enumeration: FileIOPermissionAccess::Read

.NET Framework
Available since 1.1
Return to top
Show: