Metafile Constructor (String^, IntPtr)
.NET Framework (current version)
Initializes a new instance of the Metafile class with the specified file name.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- fileName
- Type: System::String^
- referenceHdc
-
Type:
System::IntPtr
A Windows handle to a device context.
SecurityPermissionFileIOPermission
for access to unmanaged code. Related enumeration: SecurityPermissionFlag::UnmanagedCode
for read access to the file specified by filename. Related enumeration: FileIOPermissionAccess::Read
.NET Framework
Available since 1.1
Available since 1.1
Show: