Metafile Constructor (IntPtr, WmfPlaceableFileHeader^, Boolean)
.NET Framework (current version)
Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. Also, the deleteWmf parameter can be used to delete the handle when the metafile is deleted.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- hmetafile
-
Type:
System::IntPtr
A windows handle to a Metafile.
- wmfHeader
- Type: System.Drawing.Imaging::WmfPlaceableFileHeader^
- deleteWmf
-
Type:
System::Boolean
true to delete the handle to the new Metafile when the Metafile is deleted; otherwise, false.
SecurityPermission
for access to unmanaged code. Related enumeration: SecurityPermissionFlag::UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: