MetafileHeader::GetEmfHeader method (gdiplusmetaheader.h)

The MetafileHeader::GetEmfHeader method gets an ENHMETAHEADER3 structure that contains properties of the associated metafile.

Syntax

const ENHMETAHEADER3 * GetEmfHeader();

Return value

Type: ENHMETAHEADER3*

If the associated metafile is in the EMF or EMF+ format, this method returns a pointer to an ENHMETAHEADER3 structure that contains properties of the associated metafile. If the associated metafile is in the WMF format, this method returns NULL.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusmetaheader.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

ENHMETAHEADER3

GetMetafileHeader

Loading and Displaying Metafiles

Metafile

MetafileHeader

Metafiles