Creates a Windows GDI+ Metafile::Metafile object for playback based on a Windows Graphics Device Interface (GDI) Enhanced Metafile (EMF) file.
void Metafile( IN HENHMETAFILE hEmf, IN BOOL deleteEmf );
Windows handle to a metafile.
Optional. Boolean value that specifies whether the Windows handle to a metafile is deleted when the Metafile::Metafile object is deleted. TRUE specifies that the hEmf Windows handle is deleted, and FALSE specifies that the hEmf Windows handle is not deleted. The default value is FALSE.
This constructor allows GDI+ to own the windows handle to the metafile, which should not be used by other portions of your code until the Metafile::Metafile object is deleted or goes out of scope.
|Minimum supported client||Windows XP, Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||gdiplusheaders.h (include Gdiplus.h)|