MetafileHeader::GetWmfHeader method (gdiplusmetaheader.h)

The MetafileHeader::GetWmfHeader method gets a METAHEADER structure that contains properties of the associated metafile.

Syntax

const METAHEADER * GetWmfHeader();

Return value

Type: METAHEADER*

If the associated metafile is in the WMF format, this method returns a pointer to a structure that contains properties of the associated metafile. If the associated metafile is in the EMF or EMF+ format, this method returns NULL. The METAHEADER structure is defined in Wingdi.h.

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

GetMetafileHeader

Loading and Displaying Metafiles

METAHEADER

Metafile

MetafileHeader

Metafiles