Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.17 KB

GetEnhMetaFile.md

File metadata and controls

48 lines (32 loc) · 1.17 KB

Home

Function name : GetEnhMetaFile

Group: Metafile - Library: gdi32


The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file.


Code examples:

How to display picture stored in enhanced-format metafile (*.emf)
How to print picture stored in enhanced-format metafile (*.emf)

Declaration:

HENHMETAFILE GetEnhMetaFile(
  LPCTSTR lpszMetaFile   // file name
);  

FoxPro declaration:

DECLARE INTEGER GetEnhMetaFile IN gdi32;
	STRING lpszMetaFile  

Parameters:

lpszMetaFile [in] Pointer to a null-terminated string that specifies the name of an enhanced metafile.


Return value:

If the function succeeds, the return value is a handle to the enhanced metafile.


Comments:

When the application no longer needs an enhanced-metafile handle, it should delete the handle by calling the DeleteEnhMetaFile function.